Add 'or' to display either PortMapping or PortSpecs

pull/2/head
Mike Carr 2013-10-22 14:49:19 -07:00
parent 737af8a8d8
commit f79e3b91ed
1 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,10 @@
</tr>
<tr>
<td>Ports:</td>
<td>{{ container.NetworkSettings.PortMapping }}</td>
<td>
{{ container.NetworkSettings.PortMapping || container.Config.PortSpecs }}
</td>
</tr>
<tr>
<td>Hostname:</td>