Fix a crash when missing rack id #172
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#172
Loading…
Reference in a new issue
No description provided.
Delete branch "fix_a_crash"
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?
In some case, i miss id and this make crash the agent, i'm not sure its the ideal solution but this first the crash and I can register my device.
Hi @Solvik, I realize i still need this patch to be merged. Can you check it please?
@ -79,7 +78,11 @@ class ServerBase():
update = True
Seems overly complicated, why not just something like this?
Sure ... :-)
We can probably remove the
rack
check as well. Needs a rebase on master anyway. :)I just rebase. Are you sure about this 🤔
Hi @ramnes @Solvik I make some tests, this should be ok like this, could you confirm and merge please?
Regards
Thanks!