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

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

release-22.1:Backport!6412

See merge request !6413
parents f73fd834 1417007e
......@@ -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