Allow publishing same port as UDP and TCP

Signed-off-by: adeniyistephen <adeniyistadz@gmail.com>
This commit is contained in:
adeniyistephen 2020-12-02 02:21:23 +01:00
parent 097d268d48
commit 036a896e15
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ func toServicePortConfigsMap(s interface{}) (map[interface{}]interface{}, error)
} }
m := map[interface{}]interface{}{} m := map[interface{}]interface{}{}
for _, p := range ports { for _, p := range ports {
m[p.Published] = p m[p] = p
} }
return m, nil return m, nil
} }