Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@StasDeep
Copy link
Contributor

Description

Use status.get('conditions', []) instead of status['conditions'] to prevent KeyError in some rare cases.

Motivation and Context

Fix #2432.

Copy link
Collaborator

@dlstadther dlstadther left a comment

Choose a reason for hiding this comment

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

This seems safe to me. Could you @-blame another K8s luigi dev?

Thanks!

@StasDeep
Copy link
Contributor Author

@yonromai could you please review this PR?

@StasDeep
Copy link
Contributor Author

StasDeep commented Jun 6, 2018

@dlstadther what do you usually do when reviewer does not show up?

@yonromai yonromai self-requested a review June 6, 2018 13:44
@yonromai yonromai merged commit e3d2b4d into spotify:master Jun 6, 2018
@StasDeep StasDeep deleted the issue-2432-fix branch June 6, 2018 13:48
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.

3 participants