From 524dd85c3dbc34ff8d48d66ef4866a41b35b3523 Mon Sep 17 00:00:00 2001 From: Travis Glenn Hansen Date: Wed, 21 Dec 2022 00:41:08 -0700 Subject: [PATCH] proper flow control between iscsi and nvmeof Signed-off-by: Travis Glenn Hansen --- src/driver/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/driver/index.js b/src/driver/index.js index af8dc11..97fa934 100644 --- a/src/driver/index.js +++ b/src/driver/index.js @@ -2457,9 +2457,7 @@ class CsiBaseDriver { } } } - } - - if (await filesystem.deviceIsNVMEoF(block_device_info_i.path)) { + } else if (await filesystem.deviceIsNVMEoF(block_device_info_i.path)) { let nqn = await nvmeof.nqnByNamespaceDeviceName( block_device_info_i.name );