]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/nvmeof: add missing CLICommand to the module
authorAvan Thakkar <athakkar@redhat.com>
Mon, 2 Mar 2026 13:00:48 +0000 (18:30 +0530)
committerTomer Haskalovitch <tomer.haska@ibm.com>
Wed, 11 Mar 2026 19:18:34 +0000 (21:18 +0200)
Fixed AttributeError: type object 'NVMeoF' has no attribute 'CLICommand'

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
src/pybind/mgr/nvmeof/cli.py [new file with mode: 0644]

diff --git a/src/pybind/mgr/nvmeof/cli.py b/src/pybind/mgr/nvmeof/cli.py
new file mode 100644 (file)
index 0000000..1bcff2b
--- /dev/null
@@ -0,0 +1,3 @@
+from mgr_module import CLICommandBase
+
+NVMeoFCLICommand = CLICommandBase.make_registry_subtype("NVMeoFCLICommand")