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

[STRMCMP-1133] Fix for handling nil deployments #219

Merged
merged 1 commit into from
Oct 16, 2020
Merged

Conversation

premsantosh
Copy link
Contributor

Issue
There was a bug when the operator is trying to deploy an app when the previous deployment didn't work. The fetch for deployments resulted in nil with in-turn caused the operator to panic because the lack of handling of the nil case.

Fix
Added a check for nil deployments which now returns an error and fails the deployment.

Copy link
Contributor

@mwylde mwylde left a comment

Choose a reason for hiding this comment

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

Thanks for finding and fixing!

@premsantosh premsantosh merged commit e71e249 into master Oct 16, 2020
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