Merge pull request #13611 from donaldsharp/logger_warn

tests: Convert to using logger.warning
This commit is contained in:
Donatas Abraitis 2023-05-27 20:05:50 +03:00 committed by GitHub
commit 5773954be9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,