Skip to content

Commit 4b625ab

Browse files
authored
Merge pull request ceph#62697 from Hezko/nvmeof-response-fix
mgr/dashboard: fix subsystems list api response
2 parents 5307f7a + 72d0e0d commit 4b625ab

File tree

1 file changed

+1
-1
lines changed
  • src/pybind/mgr/dashboard/controllers

1 file changed

+1
-1
lines changed

src/pybind/mgr/dashboard/controllers/nvmeof.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def disable_spdk_log_level(self, gw_group: Optional[str] = None):
133133
@APIDoc("NVMe-oF Subsystem Management API", "NVMe-oF Subsystem")
134134
class NVMeoFSubsystem(RESTController):
135135
@EndpointDoc("List all NVMeoF subsystems")
136-
@pick(field="subsystems", first=True)
136+
@pick(field="subsystems")
137137
@NvmeofCLICommand("nvmeof subsystem list")
138138
@convert_to_model(model.SubsystemList)
139139
@handle_nvmeof_error

0 commit comments

Comments
 (0)