]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: introduce NvmeofCLICommand's success_message_template parameter to...
authorTomer Haskalovitch <tomer.haska@ibm.com>
Tue, 23 Dec 2025 21:21:15 +0000 (23:21 +0200)
committerTomer Haskalovitch <tomer.haska@ibm.com>
Mon, 5 Jan 2026 21:52:59 +0000 (23:52 +0200)
Signed-off-by: Tomer Haskalovitch <tomer.haska@ibm.com>
src/pybind/mgr/dashboard/controllers/nvmeof.py
src/pybind/mgr/dashboard/services/nvmeof_cli.py

index 4b6372c30bf2a743e599c5293b4084c5315bf208..0c040787ae8322956234c5511353383ebdf3f83b 100644 (file)
@@ -463,7 +463,7 @@ else:
                     adrfam=int(adrfam),
                 )
             )
-
+            
         @empty_response
         @NvmeofCLICommand("nvmeof listener del", model.RequestStatus,
                           success_message_fn=build_listener_del_success_message)
index 2b4bd829345155bde6740ec8e443fb9b2780a6c1..a4cda37a3d457e1253331dab34b598dd1b7f8890 100644 (file)
@@ -354,3 +354,4 @@ class NvmeofCLICommand(CLICommand):
 
         except Exception as e:  # pylint: disable=broad-except
             return HandleCommandResult(-errno.EINVAL, '', str(e))
+