Просмотр исходного кода

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

Fix missing newline in service inspect --pretty
Brian Goff 9 лет назад
Родитель
Сommit
404705fd8e
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      api/client/service/inspect.go

+ 1 - 0
api/client/service/inspect.go

@@ -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 {