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

fix: shell exitcode #1854

Merged
merged 4 commits into from
Jan 4, 2024
Merged

fix: shell exitcode #1854

merged 4 commits into from
Jan 4, 2024

Conversation

olblak
Copy link
Member

@olblak olblak commented Jan 3, 2024

While doing some tests, I noticed that the shell exit code return the wrong value

success should be "change return set to false and warning should be change set to true

Test

To test this pull request, you can run the following commands:

cd pkg/plugins/resources/shell/success/exitcode/
go test

Additional Information

Tradeoff

Potential improvement

Signed-off-by: Olblak <me@olblak.com>
@olblak olblak added bug Something isn't working resource-shell Resource of kind Shell labels Jan 3, 2024
Copy link
Contributor

@dduportal dduportal left a comment

Choose a reason for hiding this comment

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

Good catch 👍 👏

@olblak olblak merged commit 08255a0 into updatecli:main Jan 4, 2024
6 checks passed
@olblak olblak added this to the 0.71.0 milestone Jan 13, 2024
@olblak olblak deleted the fixShellExitCode branch January 13, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resource-shell Resource of kind Shell
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants