]> git.proxmox.com Git - mirror_frr.git/blobdiff - tests/topotests/lib/topotest.py
tests: Convert to using logger.warning
[mirror_frr.git] / 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,