tests: Convert to using logger.warning

Use the non deprecated format.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2023-05-26 16:00:42 -04:00
parent 618a9f0592
commit 780a8a10e6
1 changed files with 1 additions and 1 deletions

View 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,