We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
deviations.go is full of this pattern: for _, platformExceptions := range metadata.Get().PlatformExceptions
for _, platformExceptions := range metadata.Get().PlatformExceptions
which is effectively: "Here's a struct with a safe get/set method, but heck I'll just reach in there and .. boom panic" :(
To Reproduce
Don't know! :) but intenral testing blows up all over this, and simple proto/golang rules say: "never do this, cause boom panic!"
Expected behavior
do not panic ?
Logs
runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference
are these REALLY needed here? Nope cause this is super clearly wrong.
Network device platform (please complete the following information):
anything that touches this code path is gonna have a bad day
Additional context
nope?
The text was updated successfully, but these errors were encountered:
Apparently I don't now how to link PRs with Issues :( PR: #3570 was created and merged for this issue.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
deviations.go is full of this pattern:
for _, platformExceptions := range metadata.Get().PlatformExceptions
which is effectively: "Here's a struct with a safe get/set method, but heck I'll just reach in there and .. boom panic" :(
To Reproduce
Don't know! :) but intenral testing blows up all over this, and simple proto/golang rules say: "never do this, cause boom panic!"
Expected behavior
do not panic ?
Logs
are these REALLY needed here? Nope cause this is super clearly wrong.
Network device platform (please complete the following information):
anything that touches this code path is gonna have a bad day
Additional context
nope?
The text was updated successfully, but these errors were encountered: