command/services: just add additional output feedback on success

This commit is contained in:
Mitchell Hashimoto 2018-10-02 12:48:46 -07:00
parent a0523631e5
commit 95d5089bd8
No known key found for this signature in database
GPG Key ID: A3A9A8F4F25C3E56
2 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,8 @@ func (c *cmd) Run(args []string) int {
svc.Name, err))
return 1
}
c.UI.Output(fmt.Sprintf("Deregistered service: %s", id))
}
return 0

View File

@ -102,6 +102,8 @@ func (c *cmd) Run(args []string) int {
svc.Name, err))
return 1
}
c.UI.Output(fmt.Sprintf("Registered service: %s", svc.Name))
}
return 0