]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: fix image size in nvmeof namespace create/update api
authorAfreen Misbah <afreen@ibm.com>
Fri, 7 Feb 2025 11:43:51 +0000 (17:13 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 4 Mar 2025 07:49:47 +0000 (13:19 +0530)
commit1521b82cf97ac40da5c01c98d573be8c5168ee21
treec7306423617553cb3334a1e90fe9df3198f39f0e
parentd5f77b91f4241913b4495fe116b286cf6dad30e2
mgr/dashboard: fix image size in nvmeof namespace create/update api

- Different name is used in POST and PATCH for `rbd_image_size`
- Using same name in both requests
- fixing typing issues in frontend

Fixes https://tracker.ceph.com/issues/69864

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 7fa78e62a456bd706dafd6fd30568dfd88acf3b4)

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-namespaces-form/nvmeof-namespaces-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/nvmeof.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/nvmeof.service.ts
        - restore it to the request type where groups is not present
src/pybind/mgr/dashboard/controllers/nvmeof.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-namespaces-form/nvmeof-namespaces-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-namespaces-form/nvmeof-namespaces-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/nvmeof.service.ts
src/pybind/mgr/dashboard/openapi.yaml