Skip to content

Commit cfa98a1

Browse files
committed
Switching test_rule to use load_yaml
1 parent e82ab25 commit cfa98a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

elastalert/test_rule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def run_rule_test(self):
410410
args.es_debug_trace = False
411411

412412
conf = load_conf(args, defaults, overwrites)
413-
rule_yaml = conf['rules_loader'].get_yaml(args.file)
413+
rule_yaml = conf['rules_loader'].load_yaml(args.file)
414414
conf['rules_loader'].load_options(rule_yaml, conf, args.file)
415415

416416
if args.json:

0 commit comments

Comments
 (0)