Skip to content
This repository has been archived by the owner on Jun 19, 2022. It is now read-only.

backport release-0.18: Check if spec.retry is nil before dereferencing it. (#2052) #2146

Merged

Conversation

tommyreddad
Copy link
Contributor

Fixes #2051

Proposed Changes

  • Check if spec.retry is nil before dereferencing it.

Release Note

- 🐛 Fixed a potential nil pointer dereference when using a GCP Broker.

@google-cla google-cla bot added the cla: yes (override cla status due to multiple authors bug) label Feb 12, 2021
@knative-metrics-robot
Copy link

The following is the coverage report on the affected files.
Say /test pull-google-knative-gcp-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/reconciler/trigger/trigger.go 58.0% 58.6% 0.5

@zhongduo
Copy link
Contributor

/lgtm

@nlopezgi
Copy link
Contributor

/approve

@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nlopezgi, tommyreddad

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

The pull request process is described here

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

@knative-prow-robot knative-prow-robot merged commit f1b0f1a into google:release-0.18 Feb 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved cla: yes (override cla status due to multiple authors bug) lgtm size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants