mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
fix isnotfound
remove changes to isnotfound
This commit is contained in:
parent
ebae09e741
commit
70c2baaff8
@ -367,7 +367,7 @@ func waitLoadbalancerDeleted(client *gophercloud.ServiceClient, loadbalancerID s
|
|||||||
err := wait.ExponentialBackoff(backoff, func() (bool, error) {
|
err := wait.ExponentialBackoff(backoff, func() (bool, error) {
|
||||||
_, err := loadbalancers.Get(client, loadbalancerID).Extract()
|
_, err := loadbalancers.Get(client, loadbalancerID).Extract()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err == ErrNotFound {
|
if isNotFound(err) {
|
||||||
return true, nil
|
return true, nil
|
||||||
}
|
}
|
||||||
return false, err
|
return false, err
|
||||||
|
Loading…
Reference in New Issue
Block a user