diff --git a/command/services/deregister/deregister.go b/command/services/deregister/deregister.go index 85a63ab419..9ea2f20971 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 ecd453c71f..323bb3db95 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