From 566c0d735a377f827f370c54035de3945e3e2bf3 Mon Sep 17 00:00:00 2001 From: lubronzhan Date: Mon, 17 Aug 2020 12:50:42 +0800 Subject: [PATCH] Fix the logging message --- staging/src/k8s.io/legacy-cloud-providers/vsphere/vsphere.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/legacy-cloud-providers/vsphere/vsphere.go b/staging/src/k8s.io/legacy-cloud-providers/vsphere/vsphere.go index 3031442d117..076e8c7432e 100644 --- a/staging/src/k8s.io/legacy-cloud-providers/vsphere/vsphere.go +++ b/staging/src/k8s.io/legacy-cloud-providers/vsphere/vsphere.go @@ -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 }