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

bug: status might be a string, coerce it #51804

Merged
merged 1 commit into from
Mar 7, 2019

Conversation

mattp-
Copy link
Contributor

@mattp- mattp- commented Feb 25, 2019

some backends (requests) return status code as an int, make sure its
coerced as string before doing a comparison.

What does this PR do?

fix status match when using requests backend.

What issues does this PR fix or reference?

n/a

Tests written?

No

Commits signed with GPG?

Yes/No

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

some backends (requests) return status code as an int, make sure its
coerced as string before doing a comparison.
Copy link
Contributor

@cachedout cachedout left a comment

Choose a reason for hiding this comment

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

👍

@dwoz dwoz merged commit 044cd1c into saltstack:develop Mar 7, 2019
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.

3 participants