Merge pull request #23688 from tonistiigi/nl

Add newline to promote/demote message
This commit is contained in:
Tibor Vass 2016-06-17 11:04:25 -07:00 committed by GitHub
commit 82c9410c41
2 changed files with 2 additions and 2 deletions

View file

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

View file

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