Skip to content

account list: add '--refresh' to sycn up the latest subscriptions from server#4091

Merged
yugangw-msft merged 7 commits intoAzure:masterfrom
yugangw-msft:refresh2
Jul 28, 2017
Merged

account list: add '--refresh' to sycn up the latest subscriptions from server#4091
yugangw-msft merged 7 commits intoAzure:masterfrom
yugangw-msft:refresh2

Conversation

@yugangw-msft
Copy link
Copy Markdown
Contributor

Fix #919

  • The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

  • Each command and parameter has a meaningful description.
  • Each new command has a test.

(see Authoring Command Modules)

@codecov-io
Copy link
Copy Markdown

codecov-io commented Jul 28, 2017

Codecov Report

Merging #4091 into master will increase coverage by <.01%.
The diff coverage is 79.03%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4091      +/-   ##
==========================================
+ Coverage   70.48%   70.49%   +<.01%     
==========================================
  Files         437      437              
  Lines       28088    28134      +46     
  Branches     4302     4316      +14     
==========================================
+ Hits        19799    19832      +33     
- Misses       7009     7014       +5     
- Partials     1280     1288       +8
Impacted Files Coverage Δ
...ofile/azure/cli/command_modules/profile/_params.py 68.42% <100%> (+1.75%) ⬆️
...rofile/azure/cli/command_modules/profile/custom.py 37.07% <60%> (-0.86%) ⬇️
src/azure-cli-core/azure/cli/core/_profile.py 86.44% <80.35%> (-0.96%) ⬇️
...li-cloud/azure/cli/command_modules/cloud/custom.py 13.79% <0%> (ø) ⬆️
src/azure-cli-core/azure/cli/core/util.py 70.66% <0%> (ø) ⬆️
...nent/azure/cli/command_modules/component/custom.py 16.23% <0%> (ø) ⬆️
...dback/azure/cli/command_modules/feedback/custom.py 31.25% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2466756...b2df773. Read the comment docs.

Copy link
Copy Markdown
Member

@derekbekoe derekbekoe left a comment

Choose a reason for hiding this comment

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

One comment on grammar but LGTM otherwise.

subscriptions = subscription_finder.find_from_user_account(user_name, None, None,
self._ad_resource_uri)
except Exception as ex: # pylint: disable=broad-except
logger.warning("Refreshing for '%s' failed for an error '%s'. The existing accounts are not modified. "
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggestions on grammar:
'for an error' -> 'with an error'
'are not modified' -> 'were not modified'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants