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

do not patch status if resource is not managed #50

Merged
merged 3 commits into from
Sep 8, 2021

Conversation

surajkota
Copy link
Member

Issue #, if available:
aws-controllers-k8s/community#931

Description of changes:
Solution 1 in the issue linked above - return nil, nil instead of resource, nil after finalizer is removed

Testing:
make test
Manually using sagemaker controller

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

pkg/runtime/reconciler.go Outdated Show resolved Hide resolved
@vijtrip2
Copy link
Contributor

vijtrip2 commented Sep 7, 2021

Waiting for other ACK core team members to take a look as well.
I will merge this PR tomorrow morning, if it does not receive new comments.

pkg/runtime/reconciler.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@jaypipes jaypipes left a comment

Choose a reason for hiding this comment

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

👍

@jaypipes
Copy link
Collaborator

jaypipes commented Sep 8, 2021

/lgtm

@ack-bot ack-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 8, 2021
@ack-bot
Copy link
Collaborator

ack-bot commented Sep 8, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jaypipes, surajkota, vijtrip2

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

@ack-bot ack-bot merged commit f4fed76 into aws-controllers-k8s:main Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants