Skip to content

Conversation

@sm43
Copy link
Member

@sm43 sm43 commented Oct 12, 2021

This fixes the error which was occuring while updating configmap
as the obj passed was invalid so error was occuring, this fixes
those error.

Also, whenever we update spec or status of obj we return an error
so that we proceed further with an updated object. this patch also
handles those in tektonconfig.

Signed-off-by: Shivam Mukhade smukhade@redhat.com

Changes

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

This fixes the error which was occuring while updating configmap
as the obj passed was invalid so error was occuring, this fixes
those error.

Also, whenever we update spec or status of obj we return an error
so that we proceed further with an updated object. this patch also
handles those in tektonconfig.

Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Oct 12, 2021
@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 12, 2021
// RECONCILE_AGAIN_ERR
// When we updates spec or status we reconcile again and then proceed so
// that we proceed ahead with updated object
RECONCILE_AGAIN_ERR = fmt.Errorf("reconcile again and proceed")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nikhil-thomas
Copy link
Member

/approve

@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nikhil-thomas

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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 12, 2021
@nikhil-thomas
Copy link
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 12, 2021
@tekton-robot tekton-robot merged commit b6e3923 into tektoncd:main Oct 12, 2021
@sm43 sm43 deleted the os-fixes-err branch August 19, 2022 05:29
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. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants