Skip to content

Commit acef39f

Browse files
committed
e2e: make ExtPort not required in container infra provider API
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
1 parent 3dea4f5 commit acef39f

File tree

1 file changed

+0
-3
lines changed
  • test/e2e/infraprovider/api

1 file changed

+0
-3
lines changed

test/e2e/infraprovider/api/api.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,6 @@ func (ec ExternalContainer) IsValidPreCreateContainer() (bool, error) {
249249
if ec.Network.String() == "" {
250250
errs = append(errs, errors.New("network is not set"))
251251
}
252-
if ec.ExtPort == 0 {
253-
errs = append(errs, errors.New("port is not set"))
254-
}
255252
if len(errs) == 0 {
256253
return true, nil
257254
}

0 commit comments

Comments
 (0)