add retry func for reconciler#1008
Conversation
f525223 to
ac7ba75
Compare
3832ac6 to
983d2fb
Compare
|
PR was failing on presubmit complaining I need to run ./hack/update-codegen.sh. Had to also run update-deps which added tons of files to vendor directory. Not too experienced with go, so not sure this should be expected of this PR. |
|
Yes you need to run those, to prune the redundant files. |
983d2fb to
bec759b
Compare
Thanks, I think I got it to run properly this time. Please let me know if this looks good. Thanks! |
|
/assign @mattmoor |
|
The following is the coverage report on the affected files.
|
|
/lgtm |
|
/lgtm |
|
@mattmoor this is ready to go; or let me know if there are any pending changes, thanks! |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mattmoor, nlopezgi, vagababov 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 |
knative/serving#6162 added a retry mechanism for status updates that will be of use for:
As suggested in https://github.com/google/knative-gcp/pull/508/files#r370294441 this PR upstreams the code to perform retries to this location.
After this PR I will send a PR to https://github.com/knative/serving removing their copy of retry.go, I will also update add retries/fallbacks for update status google/knative-gcp#508 to use this, and likely take on Add retries for setting status. eventing#2296.
fyi @nachocano