OCPBUGS-15934: use *resource.Quantity to not automatically set 0#1656
Conversation
Signed-off-by: Qi Wang <qiwan@redhat.com>
|
@QiWang19: This pull request references Jira Issue OCPBUGS-15934, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (schoudha@redhat.com), skipping review request. The bug has been updated to refer to the pull request using the external bug tracker. 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/test-infra repository. |
|
Hello @QiWang19! Some important instructions when contributing to openshift/api: |
|
@QiWang19: all tests passed! Full PR test history. Your PR dashboard. 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/test-infra repository. I understand the commands that are listed here. |
|
Is |
@JoelSpeed The |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JoelSpeed, QiWang19 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 |
|
@QiWang19: Jira Issue OCPBUGS-15934: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-15934 has been moved to the MODIFIED state. 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/test-infra repository. |
|
[ART PR BUILD NOTIFIER] This PR has been included in build ose-cluster-config-api-container-v4.15.0-202311151551.p0.g27d4f9b.assembly.stream for distgit ose-cluster-config-api. |
|
Fix included in accepted release 4.15.0-0.nightly-2023-11-15-172405 |
|
Fix included in accepted release 4.15.0-0.nightly-2023-12-02-123536 |
close: https://issues.redhat.com/browse/OCPBUGS-15934
- What I did
Change the type of
OverlaySizeandLogSizeMaxresource.Quantity to pointer *resource.Quantity.the struct type will be set as 0 automatically when retrieving the ctrcfg object.
I am uncertain if we can make this update to current ContainerruntimeConfig API, I propose this change because the ContainerruntimeConfig API is currently MCO internal.
- How to verify it
- Description for the changelog