mirror of https://github.com/apache/cloudstack.git
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.zoneid = this.resource.zoneid
|
||||
}
|
||||
if (this.customDiskOffering) {
|
||||
values.size = values.size.trim()
|
||||
}
|
||||
if (this.createVolumeFromSnapshot) {
|
||||
values.snapshotid = this.resource.id
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue