Closed ma9icmarker closed 1 year ago
Should this be changed to also?
description=iface.get("dscr", ""),
https://github.com/nautobot/nautobot-plugin-ssot-ipfabric/blob/a25b0d7b4e8667a9b72b2e90a271d12e4d9495ec/nautobot_ssot_ipfabric/diffsync/adapter_nautobot.py#L97
description=interface_record.description if interface_record.description else "",
Interface objects populated from IPFabric seems to hit an error with device imports. When there is no description on the device, the plug-in should send an empty string for the interface, as per the second example below.
interface_obj.description = fields.get ("description")
interface_obj.description = fields.get ("description", “”)