Commit 1417007e authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

release-22.1:Backport!6412

parent f73fd834
......@@ -129,7 +129,7 @@ class DiscoveryID(Document):
object=object,
chassis_mac=ranges,
hostname=hostname,
hostname_id=hostname.lower(),
hostname_id=hostname.lower() if hostname else None,
router_id=router_id,
macs=macs,
).save()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment