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

Ignore retcode when checking FS type #52589

Merged
merged 5 commits into from
Apr 19, 2019
Merged

Conversation

terminalmage
Copy link
Contributor

This is used in part to check if the block device being checked actually exists. In these cases, a nonzero exit code is not an error condition, and thus should not have its results logged at the ERROR loglevel.

This is used in part to check if the block device being checked actually
exists. In these cases, a nonzero exit code is not an error condition,
and thus should not have its results logged at the ERROR loglevel.
Copy link
Contributor

@dwoz dwoz left a comment

Choose a reason for hiding this comment

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

@terminalmage This seems like it might be a difficult one to test, but can you think of a way to add a regression test for this bugfix?

@terminalmage
Copy link
Contributor Author

terminalmage commented Apr 18, 2019

@dwoz How about that?

@twangboy
Copy link
Contributor

@terminalmage Looks like you got some lint

Copy link
Contributor

@dwoz dwoz left a comment

Choose a reason for hiding this comment

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

@terminalmage Works for me. :)

@dwoz
Copy link
Contributor

dwoz commented Apr 19, 2019

The docs will pass after #52622 is merged.

@dwoz dwoz merged commit 1ba3a95 into saltstack:2018.3 Apr 19, 2019
garethgreenaway added a commit to garethgreenaway/salt that referenced this pull request Sep 18, 2019
@waynew waynew added this to PR needs port to master in PRs to port to master Oct 24, 2019
dwoz added a commit that referenced this pull request Nov 7, 2019
@garethgreenaway garethgreenaway moved this from PR needs port to master to PR has port to master in PRs to port to master Mar 24, 2020
@terminalmage terminalmage deleted the blockdev branch February 13, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
PRs to port to master
  
PR has port to master
Development

Successfully merging this pull request may close these issues.

None yet

4 participants