Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e_zombie
noc
Commits
417c1f19
Commit
417c1f19
authored
Jun 26, 2022
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
inv/models/discoveryid.py
View file @
417c1f19
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment