Commit e445d2ad authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'cherry-pick-417c1f19' into 'release-22.1'


See merge request noc/noc!6413
parents f73fd834 1417007e
...@@ -129,7 +129,7 @@ class DiscoveryID(Document): ...@@ -129,7 +129,7 @@ class DiscoveryID(Document):
object=object, object=object,
chassis_mac=ranges, chassis_mac=ranges,
hostname=hostname, hostname=hostname,
hostname_id=hostname.lower(), hostname_id=hostname.lower() if hostname else None,
router_id=router_id, router_id=router_id,
macs=macs, macs=macs,
).save() ).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