-
Notifications
You must be signed in to change notification settings - Fork 355
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
Hpe 3par add collect performance interface #789
Conversation
Add collect performance interface
Codecov Report
@@ Coverage Diff @@
## master #789 +/- ##
==========================================
+ Coverage 70.77% 70.80% +0.02%
==========================================
Files 181 181
Lines 19547 19865 +318
Branches 2921 2981 +60
==========================================
+ Hits 13834 14065 +231
- Misses 4797 4855 +58
- Partials 916 945 +29
|
Add collect performance interface
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -103,6 +108,11 @@ def get_resinfo_call(self, url, data=None, method=None): | |||
if res is not None: | |||
if res.status_code == consts.SUCCESS_STATUS_CODES: | |||
rejson = res.json() | |||
else: | |||
if res.text and 'unsupported' in res.text: | |||
LOG.warn('rest api error: {}'.format(res.text)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merge branch 'master'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What this PR does / why we need it:
add collect performance interface
Which issue this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note: