Commit 3c50f3d4 authored by Ryo Nishikawa's avatar Ryo Nishikawa

Remove verbose code in VCP

parent 059daa6d
...@@ -716,10 +716,7 @@ func (vs *VSphere) InstanceShutdownByProviderID(ctx context.Context, providerID ...@@ -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) glog.Errorf("Failed to check whether node %q is active. err: %+v.", nodeName, err)
return false, err return false, err
} }
if isActive { return !isActive, nil
return false, nil
}
return true, nil
} }
// InstanceID returns the cloud provider ID of the node with the specified Name. // InstanceID returns the cloud provider ID of the node with the specified Name.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment