mirror of https://github.com/k3s-io/k3s
parent
ebae09e741
commit
70c2baaff8
|
@ -367,7 +367,7 @@ func waitLoadbalancerDeleted(client *gophercloud.ServiceClient, loadbalancerID s
|
|||
err := wait.ExponentialBackoff(backoff, func() (bool, error) {
|
||||
_, err := loadbalancers.Get(client, loadbalancerID).Extract()
|
||||
if err != nil {
|
||||
if err == ErrNotFound {
|
||||
if isNotFound(err) {
|
||||
return true, nil
|
||||
}
|
||||
return false, err
|
||||
|
|
Loading…
Reference in New Issue