summaryrefslogtreecommitdiffstats
path: root/stacd.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-06 07:51:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-06 07:51:39 +0000
commit593ffd6b9dc008e81ed95579a0f56c49bf3e782f (patch)
treeb3a10caf7583dc08b7beed1a329f3b65a1dffe33 /stacd.py
parentAdding upstream version 2.3~rc2. (diff)
downloadnvme-stas-593ffd6b9dc008e81ed95579a0f56c49bf3e782f.tar.xz
nvme-stas-593ffd6b9dc008e81ed95579a0f56c49bf3e782f.zip
Adding upstream version 2.3~rc3.upstream/2.3_rc3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'stacd.py')
-rwxr-xr-xstacd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/stacd.py b/stacd.py
index 731b414..b13904a 100755
--- a/stacd.py
+++ b/stacd.py
@@ -90,10 +90,10 @@ if __name__ == '__main__':
return json.dumps(info)
def controller_info( # pylint: disable=too-many-arguments,no-self-use
- self, transport, traddr, trsvcid, host_traddr, host_iface, subsysnqn
+ self, transport, traddr, trsvcid, subsysnqn, host_traddr, host_iface, host_nqn
) -> str:
'''@brief D-Bus method used to return information about a controller'''
- controller = STAC.get_controller(transport, traddr, trsvcid, host_traddr, host_iface, subsysnqn)
+ controller = STAC.get_controller(transport, traddr, trsvcid, subsysnqn, host_traddr, host_iface, host_nqn)
return json.dumps(controller.info()) if controller else '{}'
def list_controllers(self, detailed) -> list: # pylint: disable=no-self-use