Fix the logging message

This commit is contained in:
lubronzhan 2020-08-17 12:50:42 +08:00
parent 1ebea3ad9d
commit 566c0d735a

View File

@ -870,7 +870,7 @@ func (vs *VSphere) InstanceID(ctx context.Context, nodeName k8stypes.NodeName) (
return vs.vmUUID, nil
}
klog.Warningf("The VM: %s is not in %s state", convertToString(nodeName), vclib.ActivePowerState)
klog.Warningf("The VM: %s doesn't exist", convertToString(nodeName))
return "", cloudprovider.InstanceNotFound
}