mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-29 21:03:56 +00:00
Fix service sanity check after jig.ChangeServiceType
This commit is contained in:
@@ -526,7 +526,7 @@ func (j *TestJig) WaitForLoadBalancerDestroy(ip string, port int, timeout time.D
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return j.sanityCheckService(service, v1.ServiceTypeLoadBalancer)
|
return j.sanityCheckService(service, service.Spec.Type)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (j *TestJig) waitForCondition(timeout time.Duration, message string, conditionFn func(*v1.Service) bool) (*v1.Service, error) {
|
func (j *TestJig) waitForCondition(timeout time.Duration, message string, conditionFn func(*v1.Service) bool) (*v1.Service, error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user