This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.19 by this push:
new 74e9146cfb4 check for custom offering and trim size (#10629)
74e9146cfb4 is described below
commit 74e9146cfb4786745a7b35605b12f19b403c2738
Author: dahn <[email protected]>
AuthorDate: Fri May 2 13:52:00 2025 +0200
check for custom offering and trim size (#10629)
---
ui/src/views/storage/CreateVolume.vue | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ui/src/views/storage/CreateVolume.vue
b/ui/src/views/storage/CreateVolume.vue
index 3efe31a34e2..b8c5e307dec 100644
--- a/ui/src/views/storage/CreateVolume.vue
+++ b/ui/src/views/storage/CreateVolume.vue
@@ -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
}