From bbc214fa9bedbde32c38f9703cbca5e01dd18ce4 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Fri, 17 Jun 2016 10:58:11 -0700 Subject: [PATCH] Add newline to promote/demote message Signed-off-by: Tonis Tiigi (cherry picked from commit 3386e3570a1251bbea5302d8b8e639aaf68436c3) --- api/client/node/demote.go | 2 +- api/client/node/promote.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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