mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Remove verbose code in VCP
This commit is contained in:
parent
059daa6de9
commit
3c50f3d447
@ -716,10 +716,7 @@ func (vs *VSphere) InstanceShutdownByProviderID(ctx context.Context, providerID
|
||||
glog.Errorf("Failed to check whether node %q is active. err: %+v.", nodeName, err)
|
||||
return false, err
|
||||
}
|
||||
if isActive {
|
||||
return false, nil
|
||||
}
|
||||
return true, nil
|
||||
return !isActive, nil
|
||||
}
|
||||
|
||||
// InstanceID returns the cloud provider ID of the node with the specified Name.
|
||||
|
Loading…
Reference in New Issue
Block a user