Merge pull request #15022 from opensourcerouting/fix/change_to_log.error

tools: Use error log level when failing to execute commands via frr-reload.py
This commit is contained in:
Donald Sharp 2023-12-18 08:58:09 -05:00 committed by GitHub
commit 066f379ffd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2200,7 +2200,7 @@ if __name__ == "__main__":
# 'no ip ospf authentication message-digest 1.1.1.1' in
# our example above
# - Split that last entry by whitespace and drop the last word
log.info("Failed to execute %s", " ".join(cmd))
log.error("Failed to execute %s", " ".join(cmd))
last_arg = cmd[-1].split(" ")
if len(last_arg) <= 2: