summaryrefslogtreecommitdiff
path: root/stdlib/backups/borg
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/backups/borg')
-rw-r--r--stdlib/backups/borg/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/backups/borg/server.go b/stdlib/backups/borg/server.go
index 95768da..2ef1d7e 100644
--- a/stdlib/backups/borg/server.go
+++ b/stdlib/backups/borg/server.go
@@ -20,7 +20,7 @@ func (b *BorgServer) IfRepaired(p ...gonf.Promise) gonf.Promise {
return b
}
-func (b *BorgServer) Promise() gonf.Promise {
+func (b *BorgServer) Promise() *BorgServer {
gonf.MakeCustomPromise(b).Promise()
return b
}