Skip to content

Commit 74e9146

Browse files
authored
check for custom offering and trim size (#10629)
1 parent 32cc45e commit 74e9146

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/src/views/storage/CreateVolume.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ export default {
269269
values.virtualmachineid = this.resource.id
270270
values.zoneid = this.resource.zoneid
271271
}
272+
if (this.customDiskOffering) {
273+
values.size = values.size.trim()
274+
}
272275
if (this.createVolumeFromSnapshot) {
273276
values.snapshotid = this.resource.id
274277
}

0 commit comments

Comments
 (0)