From 0fd4cbcac445314956f9040a2b8c2500224a1dba Mon Sep 17 00:00:00 2001 From: Yecheng Fu Date: Thu, 31 Oct 2019 21:09:13 +0800 Subject: [PATCH] log the reconstructed device and add break --- pkg/volume/local/local.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/volume/local/local.go b/pkg/volume/local/local.go index d64ad4df3d2..ae9083317b2 100644 --- a/pkg/volume/local/local.go +++ b/pkg/volume/local/local.go @@ -215,6 +215,8 @@ func (plugin *localVolumePlugin) ConstructVolumeSpec(volumeName, mountPath strin if err != nil { return nil, err } + klog.V(4).Infof("local: reconstructing volume %q (pod volume mount: %q) with device %q", volumeName, mountPath, path) + break } } localVolume := &v1.PersistentVolume{