mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Fix service sanity check after jig.ChangeServiceType
This commit is contained in:
parent
e4bb49a231
commit
dde075ffe5
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user