mirror of
https://github.com/docker/compose.git
synced 2025-07-21 20:54:32 +02:00
Fix return on ports when empty
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
parent
6c883dc4a5
commit
178ac40dba
@ -33,8 +33,8 @@ type portGroup struct {
|
||||
// PortsToStrings returns a human readable published ports
|
||||
func PortsToStrings(ports []containers.Port, fqdn string) []string {
|
||||
groupMap := make(map[string]*portGroup)
|
||||
result := []string{}
|
||||
var (
|
||||
result []string
|
||||
hostMappings []string
|
||||
groupMapKeys []string
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user