Merge pull request #25345 from dperny/fix-service-inspect-pretty
Fix missing newline in service inspect --pretty Upstream-commit: 404705fd8e5465dd3e314d04c11cb299c195dd52 Component: engine
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user