From 62c00ba841931791075391f3ec646a66e13dc54e Mon Sep 17 00:00:00 2001 From: yanggang Date: Tue, 3 Jan 2023 10:37:19 +0800 Subject: [PATCH] fix log info : pkg/util/kube/isProvisionedByCSI Signed-off-by: yanggang --- pkg/util/kube/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/kube/utils.go b/pkg/util/kube/utils.go index 73603b059..d23597397 100644 --- a/pkg/util/kube/utils.go +++ b/pkg/util/kube/utils.go @@ -187,7 +187,7 @@ func isProvisionedByCSI(log logrus.FieldLogger, pv *corev1api.PersistentVolume, } for _, driver := range list.Items { if driverName == driver.Name || migratedDriver == driver.Name { - log.Debugf("the annotation %s or %s equals to %s indicates the volume is provisioned by a CSI driver", KubeAnnDynamicallyProvisioned, KubeAnnMigratedTo, driverName) + log.Debugf("the annotation %s or %s equals to %s indicates the volume is provisioned by a CSI driver", KubeAnnDynamicallyProvisioned, KubeAnnMigratedTo, driver.Name) return true, nil } }