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

update scaleio initiators descroption #547

Merged
merged 3 commits into from
Jun 2, 2022
Merged

update scaleio initiators descroption #547

merged 3 commits into from
Jun 2, 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 Jun 2, 2022

Codecov Report

Merging #547 (fb977e2) into emc_scaleio_2022 (0cb47e1) will decrease coverage by 0.02%.
The diff coverage is 20.00%.

@@                 Coverage Diff                  @@
##           emc_scaleio_2022     #547      +/-   ##
====================================================
- Coverage             70.95%   70.92%   -0.03%     
====================================================
  Files                   185      185              
  Lines                 21635    21639       +4     
  Branches               3305     3306       +1     
====================================================
- Hits                  15351    15348       -3     
- Misses                 5243     5247       +4     
- Partials               1041     1044       +3     
Impacted Files Coverage Δ
delfin/drivers/dell_emc/scaleio/rest_handler.py 41.69% <20.00%> (-0.27%) ⬇️
delfin/drivers/fake_storage/__init__.py 93.63% <0.00%> (-1.02%) ⬇️

@@ -277,7 +278,10 @@ def list_storage_host_initiators(self, storage_id):
consts.REST_SCALIO_INITIIATORS)
for initiators_json in (storage_initiators or []):
status = initiators_json.get('mdmConnectionState')
initiators_id = initiators_json['id']
initiators_id = initiators_json.get('id')
description = constants.InitiatorType.UNKNOWN
Copy link

Choose a reason for hiding this comment

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

描述内容怎么是放的类型?

Copy link
Author

Choose a reason for hiding this comment

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

Change field to "type"

@ghxiaobo ghxiaobo merged commit 7d368b9 into gh-ca:emc_scaleio_2022 Jun 2, 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