Skip to content

Commit 26c4925

Browse files
committed
fix: remove undefined StorageClass field reference in pod_driver
Fix compilation error by removing reference to non-existent StorageClass field in JfsSetting struct. The uniqueId field is sufficient for logging the mount mode transition.
1 parent 02be94f commit 26c4925

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/controller/pod_driver.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,6 @@ func (p *PodDriver) podDeletedHandler(ctx context.Context, pod *corev1.Pod) (Res
470470
log.Error(err, "Failed to load mount config, continuing with pod recreation")
471471
} else if config.ShouldUseDaemonSet(setting) {
472472
log.Info("Mount mode is DaemonSet, skipping pod recreation",
473-
"storageClass", setting.StorageClass,
474473
"uniqueId", setting.UniqueId)
475474
// Just remove finalizer and let DaemonSet handle the mount
476475
if err := resource.RemoveFinalizer(ctx, p.Client, pod, common.Finalizer); err != nil {

0 commit comments

Comments
 (0)