Skip to content

Commit

Permalink
Fix empty disksize error
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-github-robot authored Mar 5, 2024
2 parents 2e4744a + 10812bf commit 078ae83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ function getRecommendedSpec(idx, latitude, longitude) {
createMcisReqVm.rootDiskType = res.data[0].rootDiskType;

var diskSizeInput = diskSize.value;
if (isNaN(diskSizeInput)) {
if (isNaN(diskSizeInput) || diskSizeInput == "") {
diskSizeInput = "default";
}
createMcisReqVm.rootDiskSize = diskSizeInput;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build": "echo 'Removing temporal cache files' && rm -rf dist/* .parcel-cache/* && mkdir -p dist/img/ && cp -r img/ dist/ && parcel build --public-url . index.html"
},
"description": "MapUI Client for CB-Tumblebug (display multi-cloud infra service)",
"version": "0.8.4",
"version": "0.8.5",
"repository": {
"type": "git",
"url": "git+https://github.com/cloud-barista/cb-mapui.git"
Expand Down

0 comments on commit 078ae83

Please sign in to comment.