From 14511b320186c8eb4a2905a348fed533bb9a4814 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 28 Aug 2024 00:14:30 +0200 Subject: chore(gonf): change Promise() methods return type to be more specific --- stdlib/backups/borg/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/backups/borg') 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 } -- cgit v1.2.3