ensure iscsi interface value in not "null"

This commit is contained in:
Travis Glenn Hansen 2020-01-28 11:56:26 -07:00
parent 31f01c23b9
commit 1a9aa793fe
1 changed files with 1 additions and 1 deletions

View File

@ -790,7 +790,7 @@ class FreeNASDriver extends ControllerZfsSshBaseDriver {
node_attach_driver: "iscsi",
portal: this.options.iscsi.targetPortal,
portals: this.options.iscsi.targetPortals.join(","),
interface: this.options.iscsi.interface,
interface: this.options.iscsi.interface || "",
//chapDiscoveryEnabled: this.options.iscsi.chapDiscoveryEnabled,
//chapSessionEnabled: this.options.iscsi.chapSessionEnabled,
iqn: iqn,