Merge pull request #25345 from dperny/fix-service-inspect-pretty
Fix missing newline in service inspect --pretty
This commit is contained in:
commit
404705fd8e
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue