mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
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 {
|
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))
|
svc.Name, err))
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user