summaryrefslogtreecommitdiff
path: root/stdlib/backups
diff options
context:
space:
mode:
authorJulien Dessaux2024-08-28 00:14:30 +0200
committerJulien Dessaux2024-08-28 00:15:36 +0200
commit14511b320186c8eb4a2905a348fed533bb9a4814 (patch)
tree4b6a0123d688536eae4a3ccc8085a76088d2b294 /stdlib/backups
parentfeat(files): support creating directories (diff)
downloadgonf-14511b320186c8eb4a2905a348fed533bb9a4814.tar.gz
gonf-14511b320186c8eb4a2905a348fed533bb9a4814.tar.bz2
gonf-14511b320186c8eb4a2905a348fed533bb9a4814.zip
chore(gonf): change Promise() methods return type to be more specific
Diffstat (limited to 'stdlib/backups')
-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
}