From 312d59061c7cd019f65ac45c2100ccb5c17040d7 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 12 Feb 2015 15:55:06 -0500 Subject: [PATCH] fixed logentries --- monitoring/logentries.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitoring/logentries.py b/monitoring/logentries.py index 593664412a1..a19885ea702 100644 --- a/monitoring/logentries.py +++ b/monitoring/logentries.py @@ -78,7 +78,7 @@ def follow_log(module, le_path, logs, name=None, logtype=None): if name: cmd.extend(['--name',name]) if logtype: - cmd.append(['--type',logtype]) + cmd.extend(['--type',logtype]) rc, out, err = module.run_command(' '.join(cmd)) if not query_log_status(module, le_path, log): @@ -122,7 +122,7 @@ def main(): path = dict(required=True), state = dict(default="present", choices=["present", "followed", "absent", "unfollowed"]), name = dict(required=False, default=None, type='str'), - logtype = dict(required=False, default=None, type='str', aliases['type']) + logtype = dict(required=False, default=None, type='str', aliases=['type']) ), supports_check_mode=True )