Skip to content

Verify the deletion of the object when it is allowed#1123

Merged
openshift-merge-robot merged 1 commit intoopenshift-knative:mainfrom
nak3:allow-delete
Jul 28, 2021
Merged

Verify the deletion of the object when it is allowed#1123
openshift-merge-robot merged 1 commit intoopenshift-knative:mainfrom
nak3:allow-delete

Conversation

@nak3
Copy link
Contributor

@nak3 nak3 commented Jul 28, 2021

Currently we confirm the deletion "when the client gets error".

But we would get no error but object still takes some time to be deleted completely.
So this patch changes the condition to "when Delete is allowed".

/cc @markusthoemmes @skonto @matzew

Currently we confirm the deletion "when the client gets error".

But we would get no error but object is still "terminating" status.
So this patch changes the condition to "when Delete is allowed".
@nak3
Copy link
Contributor Author

nak3 commented Jul 28, 2021

@markusthoemmes
Copy link
Contributor

LOL yeah, I totally inversed the condirtion 😂. Should've been if err == nil 🙈 . Thanks!

Copy link
Contributor

@markusthoemmes markusthoemmes left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 28, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: markusthoemmes, nak3

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-merge-robot openshift-merge-robot merged commit 1c4b020 into openshift-knative:main Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants