Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Commit cba9f7b

Browse files
raveningRakesh Venkatesh
andauthored
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 <r.venkatesh@global.leaseweb.com>
1 parent 6305c52 commit cba9f7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/views/compute/DestroyVM.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ export default {
9797
api('listVolumes', {
9898
virtualMachineId: this.resource.id,
9999
type: 'DATADISK',
100-
details: 'min'
100+
details: 'min',
101+
listall: 'true'
101102
}).then(json => {
102103
this.volumes = json.listvolumesresponse.volume || []
103104
}).finally(() => {

0 commit comments

Comments
 (0)