mirror of
https://github.com/docker/docs.git
synced 2026-04-02 17:28:55 +07:00
Add newline to promote/demote message
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> (cherry picked from commit 3386e3570a1251bbea5302d8b8e639aaf68436c3)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user