From 946d01e819f12e3b17a4a3354e2b61533e1064cf Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Fri, 4 Oct 2024 15:57:53 -0400 Subject: [PATCH] ansible: Correct logging statement in manage_jenkins script Change-Id: I0fc69fca0f6004738d4044b84215fa456916aef2 Signed-off-by: Kienan Stewart --- automation/ansible/scripts/manage_jenkins_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/ansible/scripts/manage_jenkins_node.py b/automation/ansible/scripts/manage_jenkins_node.py index 62a3313..66bb293 100755 --- a/automation/ansible/scripts/manage_jenkins_node.py +++ b/automation/ansible/scripts/manage_jenkins_node.py @@ -223,7 +223,7 @@ if __name__ == "__main__": level=args.loglevel, format="[%(asctime)s] - %(levelname)s - %(message)s" ) if "callback" not in args or not args.callback: - log.error("Valid command required") + logging.error("Valid command required") parser.print_help() sys.exit(1) -- 2.34.1