Use the Machine Type Selector table - Azure#7768
Use the Machine Type Selector table - Azure#7768kubermatic-bot merged 2 commits intokubermatic:mainfrom
Conversation
|
/retest |
1b1bcb7 to
35cab25
Compare
35cab25 to
cadb028
Compare
| vm.ResourceDiskSizeInMB = safeInt(cap.Value) | ||
| } | ||
| if *cap.Name == "MemoryGB" { | ||
| vm.MemoryInMB = safeInt(cap.Value) * 1024 |
There was a problem hiding this comment.
Just wanted to double check that Smaller VM's if values are returned like in floating number this method would fail?
what if value is greater then 1 but still fractional?
strconv.Atoi("0.75") → error → 0
strconv.Atoi("1.75") → error → 0
strconv.Atoi("3.5") → error → 0
strconv.Atoi("4.0") → error → 0
I assume all values are returned as strict "int" values in which it will be able to parse then correctly.
There was a problem hiding this comment.
im not sure so maybe it's better to fix that.
|
Please try to keep one issue per PR. This helps when discussion or backporting is needed (e.g. #7605). if it’s not an issue, please mark it resolved and i will remove unhold. |
|
/approve |
|
LGTM label has been added. DetailsGit tree hash: b6bf52a9d12e04af2c9a7d952c3b1312e15aa997 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: KhizerRehan The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold |
cadb028 to
17fe4ec
Compare
17fe4ec to
8100c4d
Compare
|
/unhold |
|
LGTM label has been added. DetailsGit tree hash: 5a95559171463ada07f1a800dd030a46535942f8 |
What this PR does / why we need it:
Frontend / UI
Backend / API
Which issue(s) this PR fixes:
Fixes #7755 #7605
What type of PR is this?
/kind design
Does this PR introduce a user-facing change? Then add your Release Note here:
Documentation: