mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
iscsi: format disk if no filesystem is found
Signed-off-by: Huamin Chen <hchen@redhat.com>
This commit is contained in:
parent
340cfcc284
commit
69a1f33dd5
@ -108,7 +108,7 @@ func (plugin *iscsiPlugin) newBuilderInternal(spec *volume.Spec, podUID types.UI
|
||||
iqn: iscsi.IQN,
|
||||
lun: lun,
|
||||
manager: manager,
|
||||
mounter: mounter,
|
||||
mounter: &mount.SafeFormatAndMount{mounter, exec.New()},
|
||||
plugin: plugin},
|
||||
fsType: iscsi.FSType,
|
||||
readOnly: readOnly,
|
||||
|
Loading…
Reference in New Issue
Block a user