Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
noc
Commits
7a0c0b28
Verified
Commit
7a0c0b28
authored
Jun 26, 2022
by
Andrey Vertiprahov
Browse files
Fix DiscoveryID typo for None hostname.
parent
d8494591
Pipeline
#36647
passed with stages
in 27 minutes and 33 seconds
Changes
1
Pipelines
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
()
...
...
Andrey Vertiprahov
@aversant
mentioned in commit
92080e3f
·
Jun 26, 2022
mentioned in commit
92080e3f
mentioned in commit 92080e3f21212963bee6d0500415a88f194270fd
Toggle commit list
Andrey Vertiprahov
@aversant
mentioned in merge request
!6413 (merged)
·
Jun 26, 2022
mentioned in merge request
!6413 (merged)
mentioned in merge request !6413
Toggle commit list
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