Module: check_mk
Branch: master
Commit: 03c5b82606709c7ee610f0ed6dfbf1a5329860d0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=03c5b82606709c…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri May 18 11:35:48 2018 +0200
Removed default argument, it's more confusing than helpful.
Change-Id: Ibf7a2e0fc8b1583844091ebaa5787feb46ee72b7
---
cmk/ec/actions.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmk/ec/actions.py b/cmk/ec/actions.py
index 969f921..ea620ae 100644
--- a/cmk/ec/actions.py
+++ b/cmk/ec/actions.py
@@ -75,13 +75,13 @@ def do_event_actions(history, settings, config, logger, event_server,
active_his
else:
logger.info("Going to execute action '%s' on event %d"
%
(action["title"], event["id"]))
- do_event_action(history, settings, config, logger, active_history_period,
table_events, action, event)
+ do_event_action(history, settings, config, logger, active_history_period,
table_events, action, event, "")
# Rule actions are currently done synchronously. Actions should
# not hang for more than a couple of ms.
-def do_event_action(history, settings, config, logger, active_history_period,
table_events, action, event, user=""):
+def do_event_action(history, settings, config, logger, active_history_period,
table_events, action, event, user):
if action["disabled"]:
logger.info("Skipping disabled action %s." % action["id"])
return