Browse code

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)

Justin Cormack authored on 2016/06/17 23:49:35
Showing 1 changed files
... ...
@@ -33,7 +33,7 @@ func runAccept(dockerCli *client.DockerCli, flags *pflag.FlagSet, args []string)
33 33
 		}); err != nil {
34 34
 			return err
35 35
 		}
36
-		fmt.Fprintf(dockerCli.Out(), "Node %s accepted in the swarm.", id)
36
+		fmt.Fprintf(dockerCli.Out(), "Node %s accepted in the swarm.\n", id)
37 37
 	}
38 38
 
39 39
 	return nil