mirror of https://github.com/docker/docs.git
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 c34d752419f0e9c17aa759df1a8314974b0d17ed)
This commit is contained in:
parent
b7a1f1a2d1
commit
445f4f2f3e
|
|
@ -33,7 +33,7 @@ func runAccept(dockerCli *client.DockerCli, flags *pflag.FlagSet, args []string)
|
||||||
}); err != nil {
|
}); err != nil {
|
||||||
return err
|
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
|
return nil
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue