mirror of https://github.com/docker/cli.git
Allow publishing same port as UDP and TCP
Signed-off-by: adeniyistephen <adeniyistadz@gmail.com>
This commit is contained in:
parent
097d268d48
commit
036a896e15
|
@ -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