suryag1201 commented on code in PR #14262:
URL: https://github.com/apache/cloudstack/pull/14262#discussion_r4425680097
##########
ui/src/views/storage/ResizeVolume.vue:
##########
@@ -105,14 +103,23 @@ export default {
},
fetchData () {
this.loading = true
+ if (this.resource.size != null) {
+ this.form.size = this.resource.size / (1024 * 1024 * 1024)
Review Comment:
Thanks @Damans227, So you are suggesting,
Leave 2.2 visible in the Size field. If the user does not change it, do not
include that value in the submit. The current disk size is then left as it is,
so a 2.2 GB disk and an IOPS-only change both succeed. If the user enters a new
whole-GB size, send that value.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]