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
7a0c0b28
Verified
Commit
7a0c0b28
authored
Jun 26, 2022
by
Andrey Vertiprahov
Browse files
Fix DiscoveryID typo for None hostname.
parent
d8494591
Changes
1
Hide whitespace changes
Inline
Side-by-side
inv/models/discoveryid.py
View file @
7a0c0b28
...
...
@@ -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