mirror of https://github.com/status-im/consul.git
fix(cli): error message in service deregister subcommand (#14028)
This commit is contained in:
parent
ff88fcdb39
commit
155c4bc2af
|
@ -81,7 +81,7 @@ func (c *cmd) Run(args []string) int {
|
|||
}
|
||||
|
||||
if err := client.Agent().ServiceDeregister(id); err != nil {
|
||||
c.UI.Error(fmt.Sprintf("Error registering service %q: %s",
|
||||
c.UI.Error(fmt.Sprintf("Error deregistering service %q: %s",
|
||||
svc.Name, err))
|
||||
return 1
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue