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

Fixes #37284 - Do not overwrite results #134

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

adamruzicka
Copy link
Contributor

No description provided.

@adamruzicka adamruzicka marked this pull request as ready for review March 25, 2024 09:32
@adamruzicka adamruzicka changed the title Fixes #tbfl - Do not overwrite results Fixes #37284 - Do not overwrite results Apr 4, 2024
Copy link
Member

@ofedoren ofedoren left a comment

Choose a reason for hiding this comment

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

Thanks, @adamruzicka, LGTM.

Comment on lines +6 to +8
unless %i[error success skipped].include?(action.run_step&.state)
action.output[:result] = action.output_result
end
Copy link
Member

Choose a reason for hiding this comment

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

If I read it right, we only add result entry for stopped/paused states since otherwise it's already present?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ofedoren ofedoren merged commit cba48c4 into theforeman:master Jul 25, 2024
9 checks passed
@adamruzicka adamruzicka deleted the missing-vol2 branch August 12, 2024 15:24
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