]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Fix pool renaming functionality
authorStephan Müller <smueller@suse.com>
Wed, 13 Nov 2019 12:16:55 +0000 (13:16 +0100)
committerStephan Müller <smueller@suse.com>
Wed, 13 Nov 2019 16:25:30 +0000 (17:25 +0100)
commitde933cd3c82b6a7d5c4ddfa77804509c9fcaa3db
treea80826a1dd9dc90f64998faa8e6c00608153d8bd
parentca46c9941bc6837f09aab7b4aaab799d8a9ebf48
mgr/dashboard: Fix pool renaming functionality

The problem was that, if a pool was renamed the routine to update tried
to work on the old pool name and didn't used the info that the pool got
renamed, therefore an error occurred in the UI saying that the pool
could not be found.

Fixes: https://tracker.ceph.com/issues/42776
Signed-off-by: Stephan Müller <smueller@suse.com>
qa/tasks/mgr/dashboard/test_pool.py
src/pybind/mgr/dashboard/controllers/pool.py