Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit ebb53d2

Browse files
committed
add the UseContainerPorts option.
1 parent 8c93f87 commit ebb53d2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

records/state/state.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ func statusIPs(st []Status, src func(*Status) []string) []string {
210210

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

0 commit comments

Comments
 (0)