Skip to content

Commit 2e6afbc

Browse files
DaanHooglanddhslove
authored andcommitted
check for custom offering and trim size (apache#10629)
1 parent aba4361 commit 2e6afbc

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
@@ -389,6 +389,9 @@ export default {
389389
values.virtualmachineid = this.resource.id
390390
values.zoneid = this.resource.zoneid
391391
}
392+
if (this.customDiskOffering) {
393+
values.size = values.size.trim()
394+
}
392395
if (this.createVolumeFromSnapshot) {
393396
values.snapshotid = this.resource.id
394397
}

0 commit comments

Comments
 (0)