File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -620,6 +620,7 @@ func (service *HTTPRestService) CreateOrUpdateNetworkContainerInternal(req *cns.
620620 } else {
621621 logger .Errorf (returnMessage )
622622 }
623+
623624 if service .Options [common .OptProgramSNATIPTables ] == true {
624625 returnCode , returnMessage = service .programSNATRules (req )
625626 if returnCode != 0 {
Original file line number Diff line number Diff line change @@ -2383,7 +2383,7 @@ func TestIPAMRequestIPConfigsProgrammingPendingFailure(t *testing.T) {
23832383 req .OrchestratorContext = b
23842384
23852385 _ , err = requestIPConfigsHelper (svc , req )
2386- assert .Error (t , err )
2386+ require .Error (t , err )
23872387 assert .Contains (t , err .Error (), "not enough IPs available" )
23882388
23892389 // Verify no IPs were assigned
You can’t perform that action at this time.
0 commit comments