Skip to content

Add nil checks to resource cache#1273

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
jerpeter1:add-nil-check-resource-cache
Dec 20, 2021
Merged

Add nil checks to resource cache#1273
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
jerpeter1:add-nil-check-resource-cache

Conversation

@jerpeter1
Copy link
Copy Markdown
Member

ApplSecret is a caching client so sometimes will return a nil from a GET, which causes
the embedded ObjectMeta to be nil.

ApplSecret is a caching client so sometimes will return a nil from a GET, which causes
the embedded ObjectMeta to be nil.
@jerpeter1
Copy link
Copy Markdown
Member Author

/assign @deads2k

@deads2k
Copy link
Copy Markdown
Contributor

deads2k commented Dec 20, 2021

golang will make an old man out of me.

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Dec 20, 2021
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Dec 20, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, jerpeter1

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 20, 2021
@jerpeter1
Copy link
Copy Markdown
Member Author

/retest-required

@jerpeter1
Copy link
Copy Markdown
Member Author

/test unit

@openshift-bot
Copy link
Copy Markdown

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@jerpeter1
Copy link
Copy Markdown
Member Author

/test unit

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Dec 20, 2021

@jerpeter1: all tests passed!

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit eca2c46 into openshift:master Dec 20, 2021
eggfoobar added a commit to eggfoobar/cluster-storage-operator that referenced this pull request Dec 20, 2021
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-version-operator that referenced this pull request Dec 20, 2021
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-csi-snapshot-controller-operator that referenced this pull request Dec 20, 2021
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/local-storage-operator that referenced this pull request Dec 20, 2021
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/performance-addon-operators that referenced this pull request Dec 20, 2021
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/performance-addon-operators that referenced this pull request Dec 20, 2021
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-policy-controller that referenced this pull request Dec 20, 2021
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-openshift-controller-manager-operator that referenced this pull request Dec 20, 2021
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-openshift-apiserver-operator that referenced this pull request Dec 20, 2021
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-config-operator that referenced this pull request Dec 20, 2021
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/console-operator that referenced this pull request Dec 20, 2021
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-image-registry-operator that referenced this pull request Dec 21, 2021
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-config-operator that referenced this pull request Dec 21, 2021
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-autoscaler-operator that referenced this pull request Dec 21, 2021
updated to include missed rbac permission for infrastructure resource
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-image-registry-operator that referenced this pull request Dec 24, 2021
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-image-registry-operator that referenced this pull request Dec 24, 2021
pull in to grab fix described here openshift/library-go#1272

Signed-off-by: ehila <ehila@redhat.com>

bump: library-go

updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-csi-snapshot-controller-operator that referenced this pull request Jan 6, 2022
updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-csi-snapshot-controller-operator that referenced this pull request Jan 6, 2022
updated method scalls with new signatures
removed passing next generation to ApplyValidationWebhookConfiguration
updated to use explicit call to bind log flags to cli commandline

Signed-off-by: ehila <ehila@redhat.com>

upkeep: removed unused code and small clean up

Signed-off-by: ehila <ehila@redhat.com>

fix: pull in latest library-go

pull in to grab fix described here openshift/library-go#1272

Signed-off-by: ehila <ehila@redhat.com>

bump: library-go

updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-image-registry-operator that referenced this pull request Jan 7, 2022
pull in to grab fix described here openshift/library-go#1272

Signed-off-by: ehila <ehila@redhat.com>

bump: library-go

updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-config-operator that referenced this pull request Jan 10, 2022
updated library go to latest

Signed-off-by: ehila <ehila@redhat.com>

fix: updated build-machinery to fix yaml-patch verify

updated build-machinery
- more info: openshift/build-machinery-go#58

Signed-off-by: ehila <ehila@redhat.com>

feat: updated logs to explicitly add flags

logs requires explict calls to add flags in latest version

Signed-off-by: ehila <ehila@redhat.com>

bump: library-go

updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
eggfoobar added a commit to eggfoobar/cluster-image-registry-operator that referenced this pull request Jan 25, 2022
fetched latest library-go and vendored dep
updated handlers to use updated sctruct names
updated okd builder image to use go 1.17

Signed-off-by: ehila <ehila@redhat.com>

fix: updated build-machinery to fix yaml-patch verify

updated build-machinery
- more info: openshift/build-machinery-go#58

Signed-off-by: ehila <ehila@redhat.com>

fix: pull in latest library-go

pull in to grab fix described here openshift/library-go#1272

Signed-off-by: ehila <ehila@redhat.com>

bump: library-go

updated library-go to latest for fix in pr openshift/library-go#1273

Signed-off-by: ehila <ehila@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants