Verified Commit 7a0c0b28 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Fix DiscoveryID typo for None hostname.

parent d8494591
......@@ -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