mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Missing line feed after accepting node
Avoids
```
root@swarmatorium:~# docker node accept 3dnh6k13o44np9fwl83e7gh80
Node 3dnh6k13o44np9fwl83e7gh80 accepted in the swarm.root@swarmatorium:~#
```
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
(cherry picked from commit c34d752419
)
This commit is contained in:
parent
b7a1f1a2d1
commit
445f4f2f3e
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ func runAccept(dockerCli *client.DockerCli, flags *pflag.FlagSet, args []string)
|
|||
}); err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Fprintf(dockerCli.Out(), "Node %s accepted in the swarm.", id)
|
||||
fmt.Fprintf(dockerCli.Out(), "Node %s accepted in the swarm.\n", id)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Add table
Reference in a new issue