fix(cli): error message in service deregister subcommand (#14028)
This commit is contained in:
parent
a3f1ae2fd5
commit
c5b8b60e26
|
@ -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