check for custom offering and trim size (#10629)

This commit is contained in:
dahn 2025-05-02 13:52:00 +02:00 committed by GitHub
parent 32cc45e840
commit 74e9146cfb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}