Browse Source

command/services: just add additional output feedback on success

pull/4745/head
Mitchell Hashimoto 6 years ago
parent
commit
69cdab0d84
No known key found for this signature in database
GPG Key ID: A3A9A8F4F25C3E56
  1. 2
      command/services/deregister/deregister.go
  2. 2
      command/services/register/register.go

2
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

2
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

Loading…
Cancel
Save