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

consider a function like getSubsystemByNqn or maybe https://pkg.go.dev/sort#Find #456

Open
glimchb opened this issue Jun 12, 2023 · 0 comments

Comments

@glimchb
Copy link
Member

glimchb commented Jun 12, 2023

          > With a function, I see the following benefits:

for sure. But in this case I'm not sure it is much simplified or less code...
I don't want to log in the function... but I can construct the error message... but not ideal as well...
I was thinking of a more useful function like getSubsystemByNqn but doing this vs simple loop, not sure what is more helpful...
maybe using https://pkg.go.dev/sort#Find ? need to read more...

Originally posted by @glimchb in #444 (comment)

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