mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +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
@ -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…
Reference in New Issue
Block a user