#2084: missed change to logger

This commit is contained in:
Czar Echavez
2023-11-30 21:11:35 +00:00
parent 5b50213626
commit c2f7d737f7
4 changed files with 9 additions and 9 deletions

View File

@@ -424,7 +424,7 @@ class NetworkACLAddRuleAction(AbstractAction):
elif permission == 2:
permission_str = "DENY"
else:
_LOGGER.warn(f"{self.__class__} received permission {permission}, expected 0 or 1.")
_LOGGER.warning(f"{self.__class__} received permission {permission}, expected 0 or 1.")
if protocol_id == 0:
return ["do_nothing"] # NOT SUPPORTED, JUST DO NOTHING IF WE COME ACROSS THIS