]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix RBD task metadata 22152/head
authorTiago Melo <tmelo@suse.com>
Fri, 18 May 2018 15:08:37 +0000 (16:08 +0100)
committerTiago Melo <tmelo@suse.com>
Tue, 22 May 2018 13:14:04 +0000 (14:14 +0100)
commit53c4ed152b721970b866599b081666bcf8e1a75b
tree0a980b064596e9faebf7fe95b36311ea21ccb21a
parent0c00c7847a27bc1d222ef05fef637fce04c1d04b
mgr/dashboard: Fix RBD task metadata

Error message template for RBD copy was trying to read
an unexistent property of the returned metada.

Metadata for RBD edit was missing the new image name.
The new name should be displayed, instead of the old one,
when the user tries to use an existent image name.

Fixes: https://tracker.ceph.com/issues/24171
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit 27d4d3d5694b475fb59d285ab48b9e3507a42cef)
src/pybind/mgr/dashboard/controllers/rbd.py
src/pybind/mgr/dashboard/frontend/src/app/shared/services/task-manager-message.service.ts