mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
58b1b2f8b3
commit
e9df682021
@ -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(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user