mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #84289 from danwinship/service-sanitycheck-fix-3
Fix service sanity check after jig.ChangeServiceType
This commit is contained in:
commit
05fa6f9e88
@ -526,7 +526,7 @@ func (j *TestJig) WaitForLoadBalancerDestroy(ip string, port int, timeout time.D
|
||||
if err != nil {
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user