add port PublishMode to service inspect --pretty output

Signed-off-by: Dong Chen <dongluo.chen@docker.com>
This commit is contained in:
Dong Chen
2017-01-05 11:21:22 -08:00
parent fa1b74a77e
commit e8ad538d90
2 changed files with 2 additions and 5 deletions

View File

@ -103,6 +103,7 @@ Ports:
PublishedPort {{ $port.PublishedPort }}
Protocol = {{ $port.Protocol }}
TargetPort = {{ $port.TargetPort }}
PublishMode = {{ $port.PublishMode }}
{{- end }} {{ end -}}
`