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: upstream update should deploy #831

Merged
merged 2 commits into from Jul 22, 2020

Conversation

marccampbell
Copy link
Member

Fixes: #827


// get the first version, the array must contain versions at this point
// this function can't run without an app
latestVersion := allVersions[len(allVersions)-1]
Copy link
Member

Choose a reason for hiding this comment

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

judging by the implementation for GetVersions, this could be an empty array

Copy link
Member Author

Choose a reason for hiding this comment

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

i'll add a check here. my comment was more about "many many other places above me in the call stack would have failed, and it's impossible to reach this point". but fair, i'll add

@marccampbell marccampbell merged commit 652decd into master Jul 22, 2020
@marccampbell marccampbell deleted the upstream-upgrade-deploy-pending branch May 23, 2022 11:57
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.

kots upstream upgrade ignores the deploy flag if no updates are downloaded.
2 participants