mirror of https://github.com/k3s-io/k3s
remove :
parent
7062cd5700
commit
c4ff3d0593
|
@ -114,7 +114,7 @@ func (i *Instances) InstanceExistsByProviderID(ctx context.Context, providerID s
|
|||
return false, err
|
||||
}
|
||||
|
||||
_, err := servers.Get(i.compute, instanceID).Extract()
|
||||
_, err = servers.Get(i.compute, instanceID).Extract()
|
||||
if err != nil {
|
||||
if isNotFound(err) {
|
||||
return false, nil
|
||||
|
|
Loading…
Reference in New Issue