fix(cli): error message in service deregister subcommand (#14028)

This commit is contained in:
cskh 2022-08-04 11:07:40 -04:00 committed by GitHub
parent ff88fcdb39
commit 155c4bc2af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
} }