@@ -119,7 +119,7 @@ func setupCaching(devicePath string, req *csi.NodeStageVolumeRequest, nodeId str
119
119
if err != nil {
120
120
return mainDevicePath , fmt .Errorf ("lv list error %w: %s" , err , info )
121
121
}
122
- klog .Info ("=============== Got LVs %s on Volume group %s ============" , string (lvList ), volumeGroupName )
122
+ klog .Infof ("=============== Got LVs %s on Volume group %s ============" , string (lvList ), volumeGroupName )
123
123
if ! strings .Contains (string (lvList ), mainLvName ) {
124
124
// lvcreate -n main -l 100%PVS cachegroup /dev/sdb
125
125
klog .V (2 ).Infof ("====== lvcreate main cache layer ======" )
@@ -287,7 +287,7 @@ func reduceVolumeGroup(volumeGroupName string, force bool) {
287
287
func RaidLocalSsds () error {
288
288
isAlreadyRaided , err := isRaided ()
289
289
if err != nil {
290
- klog .V (2 ).Info ("======Errored while scanning for available LocalSSDs err:%v; continuing Raiding=======" , err )
290
+ klog .V (2 ).Infof ("======Errored while scanning for available LocalSSDs err:%v; continuing Raiding=======" , err )
291
291
} else if isAlreadyRaided {
292
292
klog .V (2 ).Infof ("===============Local SSDs are already RAIDed==============" )
293
293
return nil
@@ -331,7 +331,7 @@ func RaidLocalSsds() error {
331
331
// Validate if Raided successfully
332
332
isAlreadyRaided , err = isRaided ()
333
333
if err != nil {
334
- klog .V (2 ).Info ("======Errored while scanning for available raided LocalSSDs err:%v=======" , err )
334
+ klog .V (2 ).Infof ("======Errored while scanning for available raided LocalSSDs err:%v=======" , err )
335
335
}
336
336
if ! isAlreadyRaided {
337
337
return fmt .Errorf ("failed raiding, raided device not found on scanning" )
0 commit comments