Skip to content

Return boolean instead of Beaker::Result #9253

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

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

joshcooper
Copy link
Contributor

@joshcooper joshcooper commented Feb 12, 2024

Commit 9f5f8e5 eliminated the global stdout, but changed the block to return whatever the on method returned (which was a Beaker::Result object). Since the object is truthy, RHEL6 wasn't excluded.

This needs to be backported to 7.x

Commit 9f5f8e5 eliminated the global `stdout`, but changed the block to return
whatever the `on` method returned (which was a Beaker::Result object). Since the
object is truthy, RHEL6 wasn't excluded.
@joshcooper joshcooper requested a review from a team as a code owner February 12, 2024 20:03
@mhashizume mhashizume added the maintenance Maintenance chores are excluded from changelogs label Feb 12, 2024
@mhashizume mhashizume merged commit b04e822 into puppetlabs:main Feb 12, 2024
@mhashizume mhashizume added the backport 7.x Generate a backport PR to 7.x label Feb 12, 2024
Copy link

Successfully created backport PR for 7.x:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 7.x Generate a backport PR to 7.x maintenance Maintenance chores are excluded from changelogs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants