@@ -164,15 +164,15 @@ var _ = ginkgo.Describe("[csi-guest] pvCSI metadata syncer tests", func() {
164
164
gomega .Expect (isDiskAttached ).To (gomega .BeTrue (), fmt .Sprintf ("Volume is not attached to the node, %s" , vmUUID ))
165
165
166
166
podUID := string (pod .UID )
167
- framework .Logf ("Pod uuid : " + podUID )
168
- framework .Logf ("PVC name in SV " + svcPVCName )
167
+ framework .Logf ("Pod uuid : %s" , podUID )
168
+ framework .Logf ("PVC name in SV %s" , svcPVCName )
169
169
pvcUID = string (pvc .GetUID ())
170
- framework .Logf ("PVC UUID in GC " + pvcUID )
170
+ framework .Logf ("PVC UUID in GC %s" , pvcUID )
171
171
gcClusterID = strings .Replace (svcPVCName , pvcUID , "" , - 1 )
172
172
173
- framework .Logf ("gcClusterId " + gcClusterID )
173
+ framework .Logf ("gcClusterId %s" , gcClusterID )
174
174
pvUID := string (pv .UID )
175
- framework .Logf ("PV uuid " + pvUID )
175
+ framework .Logf ("PV uuid %s" , pvUID )
176
176
177
177
verifyEntityReferenceInCRDInSupervisor (ctx , f , pv .Spec .CSI .VolumeHandle , crdCNSVolumeMetadatas ,
178
178
crdVersion , crdGroup , true , pv .Spec .CSI .VolumeHandle , false , nil , false )
@@ -241,14 +241,14 @@ var _ = ginkgo.Describe("[csi-guest] pvCSI metadata syncer tests", func() {
241
241
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
242
242
}()
243
243
244
- framework .Logf ("PVC name in SV " + svcPVCName )
244
+ framework .Logf ("PVC name in SV %s" , svcPVCName )
245
245
pvcUID = string (pvc .GetUID ())
246
- framework .Logf ("PVC UUID in GC " + pvcUID )
246
+ framework .Logf ("PVC UUID in GC %s" , pvcUID )
247
247
gcClusterID = strings .Replace (svcPVCName , pvcUID , "" , - 1 )
248
248
249
- framework .Logf ("gcClusterId " + gcClusterID )
249
+ framework .Logf ("gcClusterId %s" , gcClusterID )
250
250
pvUID := string (pv .UID )
251
- framework .Logf ("PV uuid " + pvUID )
251
+ framework .Logf ("PV uuid %s" , pvUID )
252
252
253
253
verifyEntityReferenceInCRDInSupervisor (ctx , f , pv .Spec .CSI .VolumeHandle ,
254
254
crdCNSVolumeMetadatas , crdVersion , crdGroup , true , pv .Spec .CSI .VolumeHandle , false , nil , false )
@@ -337,15 +337,15 @@ var _ = ginkgo.Describe("[csi-guest] pvCSI metadata syncer tests", func() {
337
337
gomega .Expect (isDiskAttached ).To (gomega .BeTrue (), fmt .Sprintf ("Volume is not attached to the node, %s" , vmUUID ))
338
338
339
339
podUID := string (pod .UID )
340
- framework .Logf ("Pod uuid : " + podUID )
341
- framework .Logf ("PVC name in SV " + svcPVCName )
340
+ framework .Logf ("Pod uuid : %s" , podUID )
341
+ framework .Logf ("PVC name in SV %s" , svcPVCName )
342
342
pvcUID = string (pvc .GetUID ())
343
- framework .Logf ("PVC UUID in GC " + pvcUID )
343
+ framework .Logf ("PVC UUID in GC %s" , pvcUID )
344
344
gcClusterID = strings .Replace (svcPVCName , pvcUID , "" , - 1 )
345
345
346
- framework .Logf ("gcClusterId " + gcClusterID )
346
+ framework .Logf ("gcClusterId %s" , gcClusterID )
347
347
pvUID := string (pv .UID )
348
- framework .Logf ("PV uuid " + pvUID )
348
+ framework .Logf ("PV uuid %s" , pvUID )
349
349
350
350
verifyEntityReferenceInCRDInSupervisor (ctx , f , pv .Spec .CSI .VolumeHandle ,
351
351
crdCNSVolumeMetadatas , crdVersion , crdGroup , true , pv .Spec .CSI .VolumeHandle , false , nil , false )
@@ -444,7 +444,7 @@ var _ = ginkgo.Describe("[csi-guest] pvCSI metadata syncer tests", func() {
444
444
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
445
445
volumeID = getVolumeIDFromSupervisorCluster (pv .Spec .CSI .VolumeHandle )
446
446
gomega .Expect (volumeID ).NotTo (gomega .BeEmpty ())
447
- framework .Logf ("value of volumeID " + volumeID )
447
+ framework .Logf ("value of volumeID %s" , volumeID )
448
448
ginkgo .By (fmt .Sprintf ("Waiting for labels %+v to be updated for pvc %s in namespace %s" ,
449
449
pvclabels , volumespec .PersistentVolumeClaim .ClaimName ,
450
450
GetAndExpectStringEnvVar (envSupervisorClusterNamespace )))
@@ -477,7 +477,7 @@ var _ = ginkgo.Describe("[csi-guest] pvCSI metadata syncer tests", func() {
477
477
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
478
478
volumeID = getVolumeIDFromSupervisorCluster (pv .Spec .CSI .VolumeHandle )
479
479
gomega .Expect (volumeID ).NotTo (gomega .BeEmpty ())
480
- framework .Logf ("value of volumeID " + volumeID )
480
+ framework .Logf ("value of volumeID %s" , volumeID )
481
481
ginkgo .By (fmt .Sprintf ("Waiting for labels %+v to be updated for pv %s" , pvlabels , pv .Name ))
482
482
err = e2eVSphere .waitForLabelsToBeUpdated (volumeID , pvlabels ,
483
483
string (cnstypes .CnsKubernetesEntityTypePV ), pv .Name , "" )
@@ -554,15 +554,15 @@ var _ = ginkgo.Describe("[csi-guest] pvCSI metadata syncer tests", func() {
554
554
gomega .Expect (isDiskAttached ).To (gomega .BeTrue (), fmt .Sprintf ("Volume is not attached to the node, %s" , vmUUID ))
555
555
556
556
podUID := string (pod .UID )
557
- framework .Logf ("Pod uuid : " + podUID )
558
- framework .Logf ("PVC name in SV " + svcPVCName )
557
+ framework .Logf ("Pod uuid : %s" , podUID )
558
+ framework .Logf ("PVC name in SV %s" , svcPVCName )
559
559
pvcUID = string (pvc .GetUID ())
560
- framework .Logf ("PVC UUID in GC " + pvcUID )
560
+ framework .Logf ("PVC UUID in GC %s" , pvcUID )
561
561
gcClusterID = strings .Replace (svcPVCName , pvcUID , "" , - 1 )
562
562
563
- framework .Logf ("gcClusterId " + gcClusterID )
563
+ framework .Logf ("gcClusterId %s" , gcClusterID )
564
564
pvUID := string (pv .UID )
565
- framework .Logf ("PV uuid " + pvUID )
565
+ framework .Logf ("PV uuid %s" , pvUID )
566
566
567
567
verifyEntityReferenceInCRDInSupervisor (ctx , f , pv .Spec .CSI .VolumeHandle ,
568
568
crdCNSVolumeMetadatas , crdVersion , crdGroup , true , pv .Spec .CSI .VolumeHandle , false , nil , false )
@@ -1173,14 +1173,14 @@ var _ = ginkgo.Describe("[csi-guest] pvCSI metadata syncer tests", func() {
1173
1173
volumeID = getVolumeIDFromSupervisorCluster (svcPVCName )
1174
1174
gomega .Expect (volumeID ).NotTo (gomega .BeEmpty ())
1175
1175
1176
- framework .Logf ("PVC name in SV " + svcPVCName )
1176
+ framework .Logf ("PVC name in SV %s" , svcPVCName )
1177
1177
pvcUID := string (pvclaim .GetUID ())
1178
- framework .Logf ("PVC UUID in GC " + pvcUID )
1178
+ framework .Logf ("PVC UUID in GC %s" , pvcUID )
1179
1179
gcClusterID := strings .Replace (svcPVCName , pvcUID , "" , - 1 )
1180
1180
1181
- framework .Logf ("gcClusterId " + gcClusterID )
1181
+ framework .Logf ("gcClusterId %s" , gcClusterID )
1182
1182
pvUID := string (pv .UID )
1183
- framework .Logf ("PV uuid " + pvUID )
1183
+ framework .Logf ("PV uuid %s" , pvUID )
1184
1184
1185
1185
verifyEntityReferenceInCRDInSupervisor (ctx , f , pv .Spec .CSI .VolumeHandle ,
1186
1186
crdCNSVolumeMetadatas , crdVersion , crdGroup , true , pv .Spec .CSI .VolumeHandle , false , nil , false )
@@ -1274,9 +1274,9 @@ var _ = ginkgo.Describe("[csi-guest] pvCSI metadata syncer tests", func() {
1274
1274
volumeIDNewGC = getVolumeIDFromSupervisorCluster (svcNewPVCName )
1275
1275
gomega .Expect (volumeIDNewGC ).NotTo (gomega .BeEmpty ())
1276
1276
1277
- framework .Logf ("PVC name in SV " + svcNewPVCName )
1277
+ framework .Logf ("PVC name in SV %s" , svcNewPVCName )
1278
1278
pvcNewUID := string (pvcNew .GetUID ())
1279
- framework .Logf ("pvcNewUID in GC " + pvcNewUID )
1279
+ framework .Logf ("pvcNewUID in GC %s" , pvcNewUID )
1280
1280
gcNewClusterID := strings .Replace (svcNewPVCName , pvcNewUID , "" , - 1 )
1281
1281
1282
1282
ginkgo .By ("Creating PV in new guest cluster with volume handle from SVC" )
@@ -1289,7 +1289,7 @@ var _ = ginkgo.Describe("[csi-guest] pvCSI metadata syncer tests", func() {
1289
1289
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
1290
1290
1291
1291
pvNewUID := string (pvNew .UID )
1292
- framework .Logf ("pvNew uuid " + pvNewUID )
1292
+ framework .Logf ("pvNew uuid %s" , pvNewUID )
1293
1293
1294
1294
ginkgo .By ("verify crd in supervisor" )
1295
1295
time .Sleep (10 * time .Second )
@@ -1400,14 +1400,14 @@ var _ = ginkgo.Describe("[csi-guest] pvCSI metadata syncer tests", func() {
1400
1400
volumeID = getVolumeIDFromSupervisorCluster (svcPVCName )
1401
1401
gomega .Expect (volumeID ).NotTo (gomega .BeEmpty ())
1402
1402
1403
- framework .Logf ("PVC name in SV " + svcPVCName )
1403
+ framework .Logf ("PVC name in SV %s" , svcPVCName )
1404
1404
pvcUID := string (pvclaim .GetUID ())
1405
- framework .Logf ("PVC UUID in GC " + pvcUID )
1405
+ framework .Logf ("PVC UUID in GC %s" , pvcUID )
1406
1406
gcClusterID := strings .Replace (svcPVCName , pvcUID , "" , - 1 )
1407
1407
1408
- framework .Logf ("gcClusterId " + gcClusterID )
1408
+ framework .Logf ("gcClusterId %s" , gcClusterID )
1409
1409
pvUID := string (pv .UID )
1410
- framework .Logf ("PV uuid " + pvUID )
1410
+ framework .Logf ("PV uuid %s" , pvUID )
1411
1411
1412
1412
verifyEntityReferenceInCRDInSupervisor (ctx , f , pv .Spec .CSI .VolumeHandle ,
1413
1413
crdCNSVolumeMetadatas , crdVersion , crdGroup , true , pv .Spec .CSI .VolumeHandle , false , nil , false )
@@ -1468,7 +1468,7 @@ var _ = ginkgo.Describe("[csi-guest] pvCSI metadata syncer tests", func() {
1468
1468
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
1469
1469
1470
1470
pvNewUID := string (pvNew .UID )
1471
- framework .Logf ("pvNew uuid " + pvNewUID )
1471
+ framework .Logf ("pvNew uuid %s" , pvNewUID )
1472
1472
1473
1473
defer func () {
1474
1474
if pvc != nil {
0 commit comments