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

notfound_fcps_are_not_counted_in_fcp_template_detail_api #817

Conversation

jackydalong
Copy link
Contributor

For fcp devices that are not found in z/VM LPAR,
they are not counted in the total_count of response of fcp template detail api.

The PR is to adding count of those fcp devices in total_count of the API response

@@ -1832,7 +1849,6 @@ def get_fcp_templates_details(self, template_id_list=None, raw=False,
self._sync_db_with_zvm()
statistics_usage = {}
raw_usage = {}
template_info = {}
Copy link
Contributor Author

@jackydalong jackydalong Apr 10, 2024

Choose a reason for hiding this comment

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

the template_info is not used, so remove it
image

@jackydalong jackydalong force-pushed the notfound_fcps_are_not_counted_in_fcp_template_detail_api branch 5 times, most recently from 205aabf to 5f677cf Compare April 10, 2024 10:12
For fcp devices that are not found in z/VM LPAR,
they are not counted in the total_count of response of fcp template detail api.

The PR is to adding count of those fcp devices in total_count of the API response

Signed-off-by: Da Long Wang <[email protected]>
@jackydalong jackydalong force-pushed the notfound_fcps_are_not_counted_in_fcp_template_detail_api branch from 5f677cf to 93f38ea Compare April 10, 2024 10:16
Copy link
Contributor

@LiJunBJZhu LiJunBJZhu left a comment

Choose a reason for hiding this comment

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

lgtm

@bjhuangr bjhuangr merged commit 9d37aee into openmainframeproject:master Apr 10, 2024
2 checks passed
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.

3 participants