Fix volume expansion for larger sizes#2431
Fix volume expansion for larger sizes#2431andyzhangx merged 2 commits intokubernetes-sigs:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gnufied The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/retest |
3 similar comments
|
/retest |
|
/retest |
|
/retest |
|
@gnufied: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/cherrypick release-1.32 |
|
/cherrypick release-1.31 |
|
@andyzhangx: new pull request created: #2432 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@andyzhangx: #2431 failed to apply on top of branch "release-1.31": DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
| return true, err | ||
| } | ||
| if ptr.Deref(fileShare.FileShareProperties.ShareQuota, 0) >= int32(sizeGiB) { | ||
| klog.Warningf("file share size(%dGi) is already greater or equal than requested size(%dGi), accountName: %s, shareName: %s", |
There was a problem hiding this comment.
so, if fileShare.FileShareProperties.ShareQuota was nil, then IMO the logging statement below should have also guarded against printing nil pointer. But that is perhaps a minor nit. :/
Fixes #2423