Merge pull request #25345 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
1 changed files with 1 additions and 0 deletions

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 {