Skip to content

[Quantum] Do not display update message if version numbers are not available#4110

Merged
kairu-ms merged 2 commits intoAzure:mainfrom
warren-jones:do-not-show-none-in-update-prompt
Nov 18, 2021
Merged

[Quantum] Do not display update message if version numbers are not available#4110
kairu-ms merged 2 commits intoAzure:mainfrom
warren-jones:do-not-show-none-in-update-prompt

Conversation

@warren-jones
Copy link
Contributor

@warren-jones warren-jones commented Nov 15, 2021

Added logic to suppress the update message if either version number is not available, and modified the unit tests accordingly.

This bug fix primarily affects the presentation of the update message during testing, and as such will not change the user experience. However, in the rare event of a transient connectivity glitch during version detection, this bug fix has the added benefit of preventing the user from ever seeing a spurious "None" in place of a valid version number in the message.


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

@yonzhan
Copy link
Collaborator

yonzhan commented Nov 15, 2021

Quantum

@yonzhan yonzhan requested a review from kairu-ms November 15, 2021 23:04
@yonzhan yonzhan added this to the Nov 2021 (2021-12-07) milestone Nov 15, 2021
@ricardo-espinoza ricardo-espinoza added the Quantum az quantum label Nov 16, 2021
@warren-jones warren-jones changed the title [Quantum] [Draft - do not merge] Do not display update message if version numbers are not available [Quantum] Do not display update message if version numbers are not available Nov 17, 2021
@warren-jones warren-jones marked this pull request as ready for review November 17, 2021 07:21
@kairu-ms kairu-ms merged commit e98e624 into Azure:main Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Quantum az quantum

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants