mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add newline to promote/demote message
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
parent
906c1dc5a0
commit
3386e3570a
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ func runDemote(dockerCli *client.DockerCli, flags *pflag.FlagSet, args []string)
|
|||
}); err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Fprintf(dockerCli.Out(), "Manager %s demoted in the swarm.", id)
|
||||
fmt.Fprintf(dockerCli.Out(), "Manager %s demoted in the swarm.\n", id)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
|
@ -33,7 +33,7 @@ func runPromote(dockerCli *client.DockerCli, flags *pflag.FlagSet, args []string
|
|||
}); err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Fprintf(dockerCli.Out(), "Node %s promoted to a manager in the swarm.", id)
|
||||
fmt.Fprintf(dockerCli.Out(), "Node %s promoted to a manager in the swarm.\n", id)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Add table
Reference in a new issue