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

Ajs fix md5 output #556

Merged
merged 4 commits into from
Dec 19, 2023
Merged

Ajs fix md5 output #556

merged 4 commits into from
Dec 19, 2023

Conversation

aschroed
Copy link
Member

Fixed output by reordering and using correct variables.

@aschroed aschroed requested a review from clarabakker December 19, 2023 16:53
@@ -225,14 +220,18 @@ def md5run_status(connection, **kwargs):
summary += 'Some files need md5 runs but must wait\n'
msg = str(len(missing_md5_to_start)) + ' file(s) to wait for md5 run'
Copy link
Member

Choose a reason for hiding this comment

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

Replace with missing_md5_to_wait?

@@ -225,14 +220,18 @@ def md5run_status(connection, **kwargs):
summary += 'Some files need md5 runs but must wait\n'
msg = str(len(missing_md5_to_start)) + ' file(s) to wait for md5 run'
check.brief_output.append(msg)
check.full_output['files_without_md5run_to_wait'] = missing_md5_to_start
check.full_output['files_without_md5run_to_wait'] = missing_md5_to_wait
check.status = 'WARN'
if not_switched_status_to_wait:
summary += 'Some files are have wrong status but must wait\n'
msg = str(len(not_switched_status)) + ' file(s) are have wrong status and will wait'
Copy link
Member

Choose a reason for hiding this comment

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

I think same here, str(len(not_switched_status_to_wait))

@aschroed aschroed merged commit ed34782 into master Dec 19, 2023
1 check failed
@aschroed aschroed deleted the ajs_fix_md5_output branch December 19, 2023 21:26
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