Skip to content

Commit

Permalink
Linux distro check message should be output to debug instead of warni…
Browse files Browse the repository at this point in the history
…ng (Azure#5928)
  • Loading branch information
derekbekoe authored and tjprescott committed Mar 28, 2018
1 parent dd64a54 commit 285abfc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions src/command_modules/azure-cli-extension/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

0.0.12
++++++
* Linux distro check message should be output to debug instead of warning.

0.0.11
++++++
* Preview extensions: Show message on `az extension add` if extension is in preview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ def check_distro_consistency():
logger.debug(err)

if current_linux_dist_name != stored_linux_dist_name:
logger.warning("Linux distro check: Mismatch distribution "
"name in %s file", LIST_FILE_PATH)
logger.warning("Linux distro check: If command fails, install the appropriate package "
"for your distribution or change the above file accordingly.")
logger.warning("Linux distro check: %s has '%s', current distro is '%s'",
LIST_FILE_PATH, stored_linux_dist_name, current_linux_dist_name)
logger.debug("Linux distro check: Mismatch distribution "
"name in %s file", LIST_FILE_PATH)
logger.debug("Linux distro check: If command fails, install the appropriate package "
"for your distribution or change the above file accordingly.")
logger.debug("Linux distro check: %s has '%s', current distro is '%s'",
LIST_FILE_PATH, stored_linux_dist_name, current_linux_dist_name)
2 changes: 1 addition & 1 deletion src/command_modules/azure-cli-extension/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}

VERSION = "0.0.11"
VERSION = "0.0.12"

CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
Expand Down

0 comments on commit 285abfc

Please sign in to comment.