From ffe86e59ec860ef998b214ef8de336391d1478e9 Mon Sep 17 00:00:00 2001 From: Feroz Salam Date: Sat, 12 Jun 2021 17:53:10 +0100 Subject: [PATCH] Remove undefined parameter from docstring It looks like the ability to pass the `config` parameter was removed but the docstring explaining what it did stayed --- elastalert/elastalert.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/elastalert/elastalert.py b/elastalert/elastalert.py index 8e268910..3786eaf5 100755 --- a/elastalert/elastalert.py +++ b/elastalert/elastalert.py @@ -47,14 +47,7 @@ class ElastAlerter(object): """ The main ElastAlert runner. This class holds all state about active rules, controls when queries are run, and passes information between rules and alerts. - :param args: An argparse arguments instance. Should contain debug and start - - :param conf: The configuration dictionary. At the top level, this - contains global options, and under 'rules', contains all state relating - to rules and alerts. In each rule in conf['rules'], the RuleType and Alerter - instances live under 'type' and 'alerts', respectively. The conf dictionary - should not be passed directly from a configuration file, but must be populated - by config.py:load_rules instead. """ + :param args: An argparse arguments instance. Should contain debug and start""" thread_data = threading.local()