]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: fix bucket rate limit API on owner change
authorNaman Munet <naman.munet@ibm.com>
Thu, 10 Apr 2025 11:40:02 +0000 (17:10 +0530)
committerNaman Munet <naman.munet@ibm.com>
Mon, 14 Apr 2025 08:08:32 +0000 (13:38 +0530)
commit36a313ff95e0e9ccc6c5c747dce16cf038cfac1c
treed67ac048cb5aaf2f07c1799de0bfab3147144bc6
parentb60d533299711cddeadaa4dbc3c548af5ba81f1d
mgr/dashboard: fix bucket rate limit API on owner change

Fixes: https://tracker.ceph.com/issues/70874
PR covers & fixes below scenarios:
Whenever we change the owner of bucket from non-tenanted to tenanted and
vice-versa with the rate-limit changes, there was issue in sending bucket name
Scenario 1: Changing the bucket owner from tenanted to non-tenanted
Scenario 2: Changing the bucket owner from non-tenanted to tenanted
Scenario 3: Keeping the owner(tenanted) same and changing only rate limit

Signed-off-by: Naman Munet <naman.munet@ibm.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.ts