From e9df68202179e43dca2aceb73858657451241b0d Mon Sep 17 00:00:00 2001 From: Rakesh Date: Wed, 13 Jan 2021 16:39:51 +0100 Subject: [PATCH] Display all data volumes for vm while destroying (#915) If a root admin tries to destroy VM of different domain then the data disks are not displayed and hence they wont be destroyed. Make sure that root admin can see all data disks of a vm while destroying it Co-authored-by: Rakesh Venkatesh Signed-off-by: Rohit Yadav --- ui/src/views/compute/DestroyVM.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/views/compute/DestroyVM.vue b/ui/src/views/compute/DestroyVM.vue index 9c8b98285d8..638097d2947 100644 --- a/ui/src/views/compute/DestroyVM.vue +++ b/ui/src/views/compute/DestroyVM.vue @@ -97,7 +97,8 @@ export default { api('listVolumes', { virtualMachineId: this.resource.id, type: 'DATADISK', - details: 'min' + details: 'min', + listall: 'true' }).then(json => { this.volumes = json.listvolumesresponse.volume || [] }).finally(() => {