fix lldp.py #280
No reviewers
Labels
No labels
help wanted
need testing
status: accepted
status: discussing
type: bug
type: documentation
type: duplicate
type: enhancement
type:hardware
type: invalid
type: major feature
type: minor feature
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: DGNum/netbox-agent#280
Loading…
Reference in a new issue
No description provided.
Delete branch "lldm_fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It's fix for issue https://github.com/Solvik/netbox-agent/issues/274
Issue
There might be an issue when the path_component is already a string in the dictionary.
When this happens, current_dict becomes a string, and then current_dict[final] = value, it throws the TypeError.
Expected behavior
current_dict should always be dict, and not failed
Test environment:
OS: [e.g. Rocky 8 18.04]
Netbox agent version [v0.7.2]