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

fix: use correct ErrNotFound from command package #863

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

jakobmoellerdev
Copy link
Contributor

addresses the issue reported by #861 where the wrong ErrNotFound Code was used.

Copy link
Contributor

@ushitora-anqou ushitora-anqou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this issue!

  • Could you update this line too?
  • To avoid similar bugs in the future, I'd like to rename one of the definitions. Could you rewrite lvmd.ErrNotFound to lvmd.ErrDeviceClassNotFound? I think it is much clearer.

…eClassNotFound

Signed-off-by: Jakob Möller <jmoller@redhat.com>
Copy link
Contributor

@ushitora-anqou ushitora-anqou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pluser pluser merged commit 93059ac into topolvm:main Mar 29, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants