Skip to content

Commit e5fc10d

Browse files
andyzhangxk8s-infra-cherrypick-robot
authored andcommitted
cleanup: kata mount logs
1 parent c15fb97 commit e5fc10d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/azurefile/nodeserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ func (d *Driver) NodeUnpublishVolume(_ context.Context, req *csi.NodeUnpublishVo
190190
}
191191

192192
if d.enableKataCCMount {
193-
klog.V(2).Infof("NodeUnstageVolume: remove direct volume mount info %s from %s", volumeID, targetPath)
193+
klog.V(2).Infof("NodeUnpublishVolume: remove direct volume mount info %s from %s", volumeID, targetPath)
194194
// Remove deletes the direct volume path including all the files inside it.
195195
// if there is no kata-cc mountinfo present on this path, it will return nil.
196196
if err := d.directVolume.Remove(targetPath); err != nil {

pkg/azurefile/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ func isConfidentialRuntimeClass(ctx context.Context, kubeClient clientset.Interf
345345
if err != nil {
346346
return false, err
347347
}
348-
klog.Infof("runtimeClass %s handler: %s", runtimeClassName, runtimeClass.Handler)
348+
klog.V(4).Infof("runtimeClass %s handler: %s", runtimeClassName, runtimeClass.Handler)
349349
return runtimeClass.Handler == confidentialRuntimeClassHandler ||
350350
runtimeClass.Handler == kataVMIsolationRuntimeClassHandler, nil
351351
}

0 commit comments

Comments
 (0)