Merge pull request #23688 from tonistiigi/nl
Add newline to promote/demote message Upstream-commit: 82c9410c41c7e34939d17fa5edcba2d1d0e4d686 Component: engine
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