Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes force option from config refresh API #211

Merged
merged 1 commit into from
Mar 10, 2021

Conversation

sm43
Copy link
Member

@sm43 sm43 commented Mar 5, 2021

Previously, we use to skip adding scope for user if the user doesn't
exist in db and as checksum is stored to avoid re-reading of config file,
force option was required to delete the checksum and then read the config
file to add scope for users.
Now, as we are creating a new record for user if it doesn't exist, the
force is option is no longer required. hence removing it.

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.

Previously, we use to skip adding scope for user if the user doesn't
exist in db and as checksum is stored to avoid re-reading of config file,
force option was required to delete the checksum and then read the config
file to add scope for users.
Now, as we are creating a new record for user if it doesn't exist, the
force is option is not longer required. hence removing it.

Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
@tekton-robot tekton-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Mar 5, 2021
@PuneetPunamiya
Copy link
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 8, 2021
@piyush-garg
Copy link
Contributor

/lgtm

@pratap0007
Copy link
Contributor

/lgtm

@pratap0007
Copy link
Contributor

/approve
/woof

@tekton-robot
Copy link

@pratap0007: dog image

In response to this:

/approve
/woof

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.

@tekton-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pratap0007

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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 10, 2021
@tekton-robot tekton-robot merged commit df6388c into tektoncd:master Mar 10, 2021
@sm43 sm43 deleted the remove-force branch March 10, 2021 11:23
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. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants