Skip to content

Commit 11ae627

Browse files
authored
Merge pull request #238 from networktocode/dga-vlan-error-warn
Change log level from error to warning when device is missing
2 parents 2f4e882 + ec0d508 commit 11ae627

File tree

1 file changed

+1
-1
lines changed
  • network_importer/adapters/nautobot_api

1 file changed

+1
-1
lines changed

network_importer/adapters/nautobot_api/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def translate_attrs_for_nautobot(self, attrs):
512512
try:
513513
device = self.diffsync.get(self.diffsync.device, identifier=device_name)
514514
except ObjectNotFound:
515-
LOGGER.error(
515+
LOGGER.warning(
516516
"Found an associated device on Vlan %s that doesn't exist (%s)",
517517
self.get_unique_id(),
518518
device_name,

0 commit comments

Comments
 (0)