Update netbox_agent/network.py

Co-Authored-By: Guillaume Gelin <contact@ramnes.eu>
This commit is contained in:
Solvik 2019-08-07 10:12:52 +02:00 committed by GitHub
parent cc08300fee
commit cc45d9ded9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ class Network():
else: else:
if netbox_ip.interface.id != interface.id: if netbox_ip.interface.id != interface.id:
logger.info( logger.info(
'Dected interface change: old interface is {old_interface} ' 'Detected interface change: old interface is {old_interface} '
'(id: {old_id}), new interface is {new_interface} (id: {new_id})' '(id: {old_id}), new interface is {new_interface} (id: {new_id})'
.format( .format(
old_interface=netbox_ip.interface, new_interface=interface, old_interface=netbox_ip.interface, new_interface=interface,