mirror of https://github.com/k3s-io/k3s
iscsi: format disk if no filesystem is found
Signed-off-by: Huamin Chen <hchen@redhat.com>pull/6/head
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