Module: check_mk
Branch: master
Commit: 5f907a27146e9654b0f30e7c0bdd08ef5ccf87b7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5f907a27146e96…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Mon Apr 16 11:56:41 2018 +0200
Remove unused parameter from PluginCommandLine
Change-Id: I96b94c2148d157e8007e412b4d00acf3a76baee4
---
web/plugins/wato/active_checks.py | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/web/plugins/wato/active_checks.py b/web/plugins/wato/active_checks.py
index 9edd30c..170a8ad 100644
--- a/web/plugins/wato/active_checks.py
+++ b/web/plugins/wato/active_checks.py
@@ -1533,7 +1533,7 @@ register_rule(group,
match = 'all'
)
-def PluginCommandLine(addhelp = ""):
+def PluginCommandLine():
return TextAscii(
title = _("Command line"),
help = _("Please enter the complete shell command including path name and
arguments to execute. "
@@ -1569,10 +1569,7 @@ register_rule(group,
default_value = _("Customcheck"))
),
( "command_line",
- PluginCommandLine(addhelp = _("<br><br>"
- "<b>Passive checks</b>: Do no specify a command line
if you want "
- "to define passive checks."),
- ),
+ PluginCommandLine(),
),
( "command_name",
TextAscii(