]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #65781 from Hezko/wip-73359-tentacle
authorafreen23 <afreen23.git@gmail.com>
Sun, 12 Oct 2025 00:23:28 +0000 (05:53 +0530)
committerGitHub <noreply@github.com>
Sun, 12 Oct 2025 00:23:28 +0000 (05:53 +0530)
tentacle: mgr/dashboard: fix the separation between CLI and API only commands

Reviewed-by: Nizamudeen A <nia@redhat.com>
1  2 
src/pybind/mgr/dashboard/controllers/nvmeof.py

index 83039ee8742522820c25ec8cc37332ffc97df253,7a759401dae74945a25491a23e7e72a2f5c8f547..b8e47a0e1d0a52f59128ead41f72c6fa87018810
@@@ -435,11 -431,8 +435,8 @@@ else
                      subsystem_nqn=nqn, nsid=int(nsid))
              )
  
-         @NvmeofCLICommand(
-             "nvmeof namespace add", model.NamespaceCreation, alias="nvmeof ns add"
-         )
          @EndpointDoc(
 -            "Create a new NVMeoF namespace",
 +            "Create a new NVMeoF namespace.",
              parameters={
                  "nqn": Param(str, "NVMeoF subsystem NQN"),
                  "rbd_pool": Param(str, "RBD pool name"),