mirror of https://github.com/docker/cli.git
Allow publishing same port as UDP and TCP using docker stack deploy
Signed-off-by: Lex Neva <lneva@fastly.com>
This commit is contained in:
parent
22acbbcc4b
commit
4e39c877dd
|
@ -111,7 +111,7 @@ func toServicePortConfigsMap(s interface{}) (map[interface{}]interface{}, error)
|
|||
}
|
||||
m := map[interface{}]interface{}{}
|
||||
for _, p := range ports {
|
||||
m[p.Published] = p
|
||||
m[p] = p
|
||||
}
|
||||
return m, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue