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

Modify the code according to the modification suggestions for msa #516

Merged
merged 4 commits into from
Feb 25, 2022
Merged

Modify the code according to the modification suggestions for msa #516

merged 4 commits into from
Feb 25, 2022

Conversation

luojiagen
Copy link

What this PR does / why we need it:

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

Release note:

@codecov
Copy link

codecov bot commented Feb 25, 2022

Codecov Report

Merging #516 (fb1f23d) into hpe_msa_2022 (fa48607) will increase coverage by 0.01%.
The diff coverage is 62.06%.

@@               Coverage Diff                @@
##           hpe_msa_2022     #516      +/-   ##
================================================
+ Coverage         70.57%   70.59%   +0.01%     
================================================
  Files               180      180              
  Lines             18856    18846      -10     
  Branches           2787     2779       -8     
================================================
- Hits              13308    13304       -4     
+ Misses             4695     4694       -1     
+ Partials            853      848       -5     
Impacted Files Coverage Δ
delfin/drivers/hpe/hpe_msa/ssh_handler.py 67.16% <62.06%> (+0.50%) ⬆️
delfin/drivers/fake_storage/__init__.py 94.40% <0.00%> (ø)

'manufacturer': data.get('vendor'),
'model': data.get('model'),
'speed': rpm,
'capacity': int(size),

Choose a reason for hiding this comment

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

Do you need to switch again here
'capacity': int(size),

Copy link
Author

Choose a reason for hiding this comment

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

There are decimals in the return value

@ghxiaobo ghxiaobo merged commit 478e50f into gh-ca:hpe_msa_2022 Feb 25, 2022
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.

2 participants