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

OSMount - Fix handling of non-existent devices #340

Merged
merged 2 commits into from
Sep 16, 2024

Conversation

mihaelabalutoiu
Copy link
Contributor

This PR implements the following updates:

  • Added a check to verify the existence of the device before attempting to mount it;
  • Included a unit test for this scenario;

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
Added a check to ensure the device exists before
attempting to mount it.

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
Copy link
Contributor

@Dany9966 Dany9966 left a comment

Choose a reason for hiding this comment

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

LGTM!

@Dany9966 Dany9966 merged commit 81323e4 into cloudbase:master Sep 16, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants