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 );