From 3e5033fdfd78b2aaac896b1017efe54e17431fcd Mon Sep 17 00:00:00 2001 From: Ricardo Dias Date: Wed, 31 Jul 2019 12:08:22 +0100 Subject: [PATCH] mgr/dashboard: frontend: add task rbd/delete builder in rbd-list component Signed-off-by: Ricardo Dias --- .../frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts | 2 ++ 1 file changed, 2 insertions(+) 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) => -- 2.47.3