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

Create patches for the default annotations that are being added #53

Merged
merged 1 commit into from
Jan 11, 2019

Conversation

adilyse
Copy link
Contributor

@adilyse adilyse commented Jan 10, 2019

Fixes #20 .

Previously, the default annotations were added to the local Pod object, but
no patches were created to update the running pod. This meant we were bypassing
the check for empty annotations, causing errors when trying to add an annotation
to a nonexistent object.

Fixes 20.

Previously, the default annotations were added to the local Pod object, but
no patches were created to update the running pod. This meant we were bypassing
the check for empty annotations, causing errors when trying to add an annotation
to a nonexistent object.
@adilyse adilyse requested review from mitchellh, anubhavmishra and a team January 10, 2019 21:49
Copy link
Contributor

@mitchellh mitchellh left a comment

Choose a reason for hiding this comment

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

I think this looks right... its clean and I think it does what I expect. It’s hard to wrap my head around all the scenarios the pod might be submitted, but I see the issue. Going to say approve if its working for you.

@adilyse adilyse merged commit 18b704d into master Jan 11, 2019
@adilyse adilyse deleted the bug/20 branch January 11, 2019 00:05
ndhanushkodi pushed a commit to ndhanushkodi/consul-k8s that referenced this pull request Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants