Skip to content
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

logger.warn when http fetch with exception happened. #2205

Merged
merged 20 commits into from
Mar 18, 2021

Conversation

ZhidongPeng
Copy link
Collaborator

Description

logger.warn when http fetch with exception happened.


PR information

  • The title of the PR is clear and informative.
  • There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • If applicable, the PR references the bug/issue that it fixes in the description.
  • New Unit tests were added for the changes made

Quality of Code and Contribution Guidelines

@codecov
Copy link

codecov bot commented Mar 12, 2021

Codecov Report

Merging #2205 (74f8d82) into develop (27158fe) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2205      +/-   ##
===========================================
+ Coverage    70.45%   70.47%   +0.01%     
===========================================
  Files           96       96              
  Lines        13564    13573       +9     
  Branches      1915     1917       +2     
===========================================
+ Hits          9557     9566       +9     
  Misses        3593     3593              
  Partials       414      414              
Impacted Files Coverage Δ
azurelinuxagent/common/protocol/wire.py 78.35% <100.00%> (+0.05%) ⬆️
azurelinuxagent/common/utils/restutil.py 87.24% <100.00%> (+0.31%) ⬆️

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 27158fe...74f8d82. Read the comment docs.

kevinclark19a
kevinclark19a previously approved these changes Mar 12, 2021
narrieta
narrieta previously approved these changes Mar 12, 2021
@ZhidongPeng ZhidongPeng dismissed stale reviews from narrieta and kevinclark19a via 3843052 March 15, 2021 22:38
larohra
larohra previously approved these changes Mar 15, 2021
kevinclark19a
kevinclark19a previously approved these changes Mar 15, 2021
@ZhidongPeng ZhidongPeng dismissed stale reviews from kevinclark19a and larohra via 74f8d82 March 17, 2021 21:17
@@ -172,6 +172,19 @@ def _parse_url(url):
secure = True
return o.hostname, o.port, secure, rel_uri

def _trim_url_parameters(url):
Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is a util function, it doesn't need to be a protected function. Can rename it to trim_url_parameters instead

@ZhidongPeng ZhidongPeng merged commit 428e188 into Azure:develop Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants