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

[patch] lookup mongo version not default during mas update #914

Merged
merged 2 commits into from Apr 24, 2024

Conversation

whitfiea
Copy link
Contributor

The mas update command was looking up the mongo_extras_version_default in the casebundle which is always set to v5 for the current catalogs. What this should be doing is look up the mongo_extras_version which is the value of MONGODB_VERSION (or if not set then the default).

Without this fix the error message during mas update when you have a v6 mongodb is:

MongoDB Community Edition is currently running on version 6.0.10 and cannot be downgraded to target version 5.0.23, which is the MongoDB version you would get when choosing MAS catalog 'v8-240405-amd64'

Copy link
Contributor

@sanjayprab sanjayprab left a comment

Choose a reason for hiding this comment

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

good spot.

@sanjayprab sanjayprab merged commit 8512235 into master Apr 24, 2024
3 checks passed
@sanjayprab sanjayprab deleted the fixmongover branch April 24, 2024 09:09
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