summaryrefslogtreecommitdiff
path: root/pkg/services.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/services.go')
-rw-r--r--pkg/services.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/services.go b/pkg/services.go
index 319599e..6368573 100644
--- a/pkg/services.go
+++ b/pkg/services.go
@@ -42,7 +42,7 @@ func (s *ServicePromise) IfRepaired(p ...Promise) Promise {
return s
}
-func (s *ServicePromise) Promise() Promise {
+func (s *ServicePromise) Promise() *ServicePromise {
services = append(services, s)
return s
}