Skip to content

Commit

Permalink
Merge pull request #55006 from aplanas/backport_49037
Browse files Browse the repository at this point in the history
(Backport 49037) Fix case where args or kwargs are not specified in loop state
  • Loading branch information
dwoz authored Dec 5, 2019
2 parents 4f321b4 + 03e6519 commit 24a79f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions salt/states/loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ def until(name,
ret['comment'] = 'The execution module {0} will be run'.format(name)
ret['result'] = None
return ret
if not m_args:
m_args = []
if not m_kwargs:
m_kwargs = {}

def timed_out():
if time.time() >= timeout:
Expand Down

0 comments on commit 24a79f8

Please sign in to comment.