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

fix: ensure labels is defined before key access. Fixes #11602 #11638

Merged
merged 5 commits into from
Aug 28, 2023

Conversation

isubasinghe
Copy link
Member

@isubasinghe isubasinghe commented Aug 20, 2023

Fixes #11602

Verified manually, this is a simple change, just checks if a key existed before accessing it.

Signed-off-by: Isitha Subasinghe <isitha@pipekit.io>
Signed-off-by: Isitha Subasinghe <isitha@pipekit.io>
Co-authored-by: Anton Gilgur <4970083+agilgur5@users.noreply.github.com>
Signed-off-by: Isitha Subasinghe <isitha@pipekit.io>
@isubasinghe
Copy link
Member Author

Thanks @agilgur5, I went with the first option.

@terrytangyuan terrytangyuan enabled auto-merge (squash) August 23, 2023 01:17
@terrytangyuan terrytangyuan disabled auto-merge August 23, 2023 01:17
@terrytangyuan terrytangyuan enabled auto-merge (squash) August 23, 2023 01:17
@terrytangyuan terrytangyuan merged commit d99efa7 into argoproj:master Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants