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

Avoid noisy error on scheduled events without NotAfter #363

Merged
merged 1 commit into from Feb 12, 2021

Conversation

tyrken
Copy link
Contributor

@tyrken tyrken commented Feb 12, 2021

See Issue #361 and related #315

Description of changes:
Hide the continual error from attempting to parse an empty string (when there isn't a NotAfter in the scheduled event, as in the example from #361 ).

Note this only fixes the minor point of the issue - that the node isn't immediately drained & eventually terminated remains.

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

Copy link
Contributor

@haugenj haugenj left a comment

Choose a reason for hiding this comment

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

👍 LGTM, thanks!

@haugenj haugenj merged commit fbc3f70 into aws:main Feb 12, 2021
@tyrken tyrken deleted the fix-noisy-scheduled-event-parse branch February 12, 2021 18:20
haugenj pushed a commit to haugenj/aws-node-termination-handler that referenced this pull request Feb 19, 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.

None yet

2 participants