mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Minor fix for def test_batch_run_grains_targeting
item was never "minion" without a colon, but os_grain was overwritten anyway. So this fix does not actually affect the test outcome.
This commit is contained in:
parent
0d647162e5
commit
7d0b20c91e
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class BatchTest(ShellCase):
|
|||
min_ret = "Executing run on [{0}]".format(repr('minion'))
|
||||
|
||||
for item in self.run_salt('minion grains.get os'):
|
||||
if item != 'minion':
|
||||
if item != 'minion:':
|
||||
os_grain = item
|
||||
|
||||
os_grain = os_grain.strip()
|
||||
|
|
Loading…
Add table
Reference in a new issue