From: Ricardo Dias Date: Wed, 31 Jul 2019 11:08:22 +0000 (+0100) Subject: mgr/dashboard: frontend: add task rbd/delete builder in rbd-list component X-Git-Tag: v15.1.0~1623^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3e5033fdfd78b2aaac896b1017efe54e17431fcd;p=ceph-ci.git mgr/dashboard: frontend: add task rbd/delete builder in rbd-list component Signed-off-by: Ricardo Dias --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts index 56e96aba8be..76126032546 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts @@ -63,6 +63,8 @@ export class RbdListComponent implements OnInit { builders = { 'rbd/create': (metadata) => this.createRbdFromTask(metadata['pool_name'], metadata['image_name']), + 'rbd/delete': (metadata) => + this.createRbdFromTask(metadata['pool_name'], metadata['image_name']), 'rbd/clone': (metadata) => this.createRbdFromTask(metadata['child_pool_name'], metadata['child_image_name']), 'rbd/copy': (metadata) =>