log the reconstructed device and add break

This commit is contained in:
Yecheng Fu 2019-10-31 21:09:13 +08:00
parent 8def74f394
commit 0fd4cbcac4

View File

@ -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{