Commit 417c1f19 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'fix-avs-discovery-id-typo' into 'master'

Fix DiscoveryID typo for None hostname.

See merge request noc/noc!6412
parents d8494591 7a0c0b28
Pipeline #36654 failed with stages
in 23 minutes and 54 seconds
......@@ -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