Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[2018.3] Fix to cmd_batch #48236
What does this PR do?
Fixing cmd_batch to work correctly when called via salt-api.
What issues does this PR fix or reference?
When running from the salt-api this would result in an exception, presumably because salt.utils.versions was unavailable.
import salt.utils.versions inside cmd_batch.
Commits signed with GPG?
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.