mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
check for custom offering and trim size (#10629)
This commit is contained in:
parent
32cc45e840
commit
74e9146cfb
@ -269,6 +269,9 @@ export default {
|
|||||||
values.virtualmachineid = this.resource.id
|
values.virtualmachineid = this.resource.id
|
||||||
values.zoneid = this.resource.zoneid
|
values.zoneid = this.resource.zoneid
|
||||||
}
|
}
|
||||||
|
if (this.customDiskOffering) {
|
||||||
|
values.size = values.size.trim()
|
||||||
|
}
|
||||||
if (this.createVolumeFromSnapshot) {
|
if (this.createVolumeFromSnapshot) {
|
||||||
values.snapshotid = this.resource.id
|
values.snapshotid = this.resource.id
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user