diff --git a/command/services/deregister/deregister.go b/command/services/deregister/deregister.go index 85a63ab41..9ea2f2097 100644 --- a/command/services/deregister/deregister.go +++ b/command/services/deregister/deregister.go @@ -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 diff --git a/command/services/register/register.go b/command/services/register/register.go index ecd453c71..323bb3db9 100644 --- a/command/services/register/register.go +++ b/command/services/register/register.go @@ -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