Skip to content

Commit

Permalink
Make interaction use azureProfile.json from .azure (#5442)
Browse files Browse the repository at this point in the history
* make interaction use azureProfile.json from .azure

* history and version bump

* azure-folder points to .azure

* address feedback
  • Loading branch information
williexu authored Feb 1, 2018
1 parent 6b7b0a0 commit a63b235
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/command_modules/azure-cli-interactive/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

0.3.16
++++++
* Fix issue where user is prompted to login when using interactive mode in Cloud Shell.

0.3.15
++++++
* Fixed issue where command option completions no longer appeared.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ def cli_execute(self, cmd):
self.config.set_feedback('yes')
self.user_feedback = False

azure_folder = self.config.config_dir
azure_folder = get_config_dir()
if not os.path.exists(azure_folder):
os.makedirs(azure_folder)
ACCOUNT.load(os.path.join(azure_folder, 'azureProfile.json'))
Expand Down
2 changes: 1 addition & 1 deletion src/command_modules/azure-cli-interactive/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
cmdclass = {}

# Version is also defined in azclishell.__init__.py.
VERSION = "0.3.15"
VERSION = "0.3.16"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [
Expand Down

0 comments on commit a63b235

Please sign in to comment.