Skip to content
New issue

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

check the request validity before processing it #396

Open
glimchb opened this issue May 30, 2023 · 1 comment
Open

check the request validity before processing it #396

glimchb opened this issue May 30, 2023 · 1 comment

Comments

@glimchb
Copy link
Member

glimchb commented May 30, 2023

For example, got panic when this line tried to access in.NvmeSubsystem.Spec.Name but in.NvmeSubsystem was nil .

@glimchb
Copy link
Member Author

glimchb commented Jun 1, 2023

first PR #401

can think of common way doing it, see @artek-koltun commit https://github.com/opiproject/opi-intel-bridge/blob/main/pkg/frontend/nvme.go#L43-L48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant