mirror of https://github.com/FRRouting/frr.git
tests: Convert to using logger.warning
Use the non deprecated format. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
618a9f0592
commit
780a8a10e6
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue