-
Notifications
You must be signed in to change notification settings - Fork 13
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
LITE-28324 Fix --version check for updates #221
Conversation
ed84371
to
154e398
Compare
connect/cli/core/utils.py
Outdated
if last_version and last_version != current: | ||
console.echo() | ||
console.secho( | ||
f'You are running CloudBlue Connect CLI version {current}. ' | ||
f'A newer version is available: {last_version}', | ||
f'Suggested latest version for used Connect version: {last_version}', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why you changed the message ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest the following:
WARNING: You are running an outdated version ({current}) of CloudBlue Connect CLI.
A newer version ({last_version}) is available and includes new features and security fixes.
Please upgrade your current version to the {last_version}.
Wdyt ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In theory user cannot choose the Connect version, they always use the version deployed to production.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check my comment, everything is fine.
154e398
to
582d9ac
Compare
Kudos, SonarCloud Quality Gate passed! |
No description provided.