mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update opsgenie.py
Added back "action_type" for test parameter to satisfy Python linting.
This commit is contained in:
parent
501c8dff9c
commit
055823ed28
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ def create_alert(name=None, api_key=None, reason=None, action_type="Create"):
|
|||
if __opts__['test'] is True:
|
||||
ret[
|
||||
'comment'] = 'Test: {0} alert request will be processed ' \
|
||||
'using the API Key="{1}".'.format(api_key)
|
||||
'using the API Key="{1}".'.format(action_type, api_key)
|
||||
|
||||
# Return ``None`` when running with ``test=true``.
|
||||
ret['result'] = None
|
||||
|
|
Loading…
Add table
Reference in a new issue