]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: Convert to using logger.warning 13611/head
authorDonald Sharp <sharpd@nvidia.com>
Fri, 26 May 2023 20:00:42 +0000 (16:00 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 26 May 2023 20:00:42 +0000 (16:00 -0400)
Use the non deprecated format.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/lib/topotest.py

index d1475a5e261ec6448670da6abef22007b6b38e55..4520300fd888640d807d28e889724b3feb220247 100644 (file)
@@ -1553,7 +1553,7 @@ class Router(Node):
                 self.daemons_options[daemon] = param
             conf_file = "/etc/{}/{}.conf".format(self.routertype, daemon)
             if source and not os.path.exists(source):
-                logger.warn(
+                logger.warning(
                     "missing config '%s' for '%s' creating empty file '%s'",
                     self.name,
                     source,