diff --git a/api/client/node/demote.go b/api/client/node/demote.go index ed794afe10..e9d70e989f 100644 --- a/api/client/node/demote.go +++ b/api/client/node/demote.go @@ -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 diff --git a/api/client/node/promote.go b/api/client/node/promote.go index 8c69521437..87fe42e361 100644 --- a/api/client/node/promote.go +++ b/api/client/node/promote.go @@ -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