fix for sd state

This commit is contained in:
Audrius Kucinskas 2014-06-15 23:21:55 +03:00
parent 698b73825b
commit 498c17482d

View File

@ -128,6 +128,8 @@ def monitored(name, group=None, salt_name=True, salt_params=True, **params):
if salt_name:
name = params_from_salt.pop('name')
ret['name'] = name
else:
params_from_salt.pop('name')
if group:
params['group'] = group