Skip to content

Commit

Permalink
Fix return statement in supervisord.running state
Browse files Browse the repository at this point in the history
When test=True is used, this state builts the return dict, and then runs
"return" instead of returning the dict, causing a traceback. This commit
fixes #6053 by fixing that return statement.
  • Loading branch information
terminalmage committed Jul 9, 2013
1 parent 9edec80 commit a4a90c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/states/supervisord.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def running(name,
ret['comment'] = (
'Service {0} is set to be {1}{2}'.format(
name, _msg, _update))
return
return ret

changes = []
just_updated = False
Expand Down

0 comments on commit a4a90c2

Please sign in to comment.