ansible: Correct logging statement in manage_jenkins script
authorKienan Stewart <kstewart@efficios.com>
Fri, 4 Oct 2024 19:57:53 +0000 (15:57 -0400)
committerKienan Stewart <kstewart@efficios.com>
Fri, 4 Oct 2024 19:58:26 +0000 (15:58 -0400)
Change-Id: I0fc69fca0f6004738d4044b84215fa456916aef2
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
automation/ansible/scripts/manage_jenkins_node.py

index 62a3313f2942c896375056bb03db257affbcfd4b..66bb29364df9ec90ecbd253317ce2776e768fce4 100755 (executable)
@@ -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)
 
This page took 0.023388 seconds and 4 git commands to generate.