Skip to content

Commit

Permalink
add the UseContainerPorts option.
Browse files Browse the repository at this point in the history
  • Loading branch information
vixns committed Apr 13, 2019
1 parent 8e1a8c8 commit 5a54483
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion records/state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ func statusIPs(st []Status, src func(*Status) []string) []string {

// MapPort returns the mapped port if available, or the host port
// listening on.
// TODO: error checking, is Statuses[0] always the current status ?
func MapPort(t Task, hostport int) int {
ni := t.Statuses[0].ContainerStatus.NetworkInfos
for n := range ni {
Expand Down

0 comments on commit 5a54483

Please sign in to comment.