Skip to content

Commit

Permalink
Merge pull request #241 from mirceaulinic/fix-240
Browse files Browse the repository at this point in the history
Fix #240: Salt 3003.1 KeyError __runner__
  • Loading branch information
mirceaulinic authored Jul 1, 2021
2 parents 4e5a4b4 + 8154162 commit a31ecf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions salt_sproxy/_roster/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def targets(tgt, tgt_type='glob', **kwargs):
'''
template = get_roster_file(__opts__)
rend = salt.loader.render(__opts__, {})
__runner__.name = '__salt__'
kwargs['__salt__'] = __runner__
pool = compile_template(
template,
Expand Down

0 comments on commit a31ecf1

Please sign in to comment.