Merge pull request from dperny/fix-service-inspect-pretty

Fix missing newline in service inspect --pretty
This commit is contained in:
Brian Goff 2016-08-02 17:50:28 -04:00 committed by GitHub
commit 404705fd8e

View file

@ -149,6 +149,7 @@ func printService(out io.Writer, service swarm.Service) {
for _, n := range service.Spec.Networks {
fmt.Fprintf(out, " %s", n.Target)
}
fmt.Fprintln(out, "")
}
if len(service.Endpoint.Ports) > 0 {