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,
|
iqn: iscsi.IQN,
|
||||||
lun: lun,
|
lun: lun,
|
||||||
manager: manager,
|
manager: manager,
|
||||||
mounter: mounter,
|
mounter: &mount.SafeFormatAndMount{mounter, exec.New()},
|
||||||
plugin: plugin},
|
plugin: plugin},
|
||||||
fsType: iscsi.FSType,
|
fsType: iscsi.FSType,
|
||||||
readOnly: readOnly,
|
readOnly: readOnly,
|
||||||
|
|
Loading…
Reference in New Issue