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(node): check for empty devicePath #344

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

apricote
Copy link
Member

When the VolumeAttachment was created with v1.6.0 (or older) it has an empty publish context and we run into a cryptic error during mount. We should always check that the device path is set in the publish context.

This will improve the error message for one of the bugs encountered in #278.

For details, see my comment: #278 (comment)

@apricote apricote added the bug Something isn't working label Dec 14, 2022
@apricote apricote self-assigned this Dec 14, 2022
When the VolumeAttachment was created with v1.6.0 (or older) it has an empty
publish context and we run into a cryptic error during mount. We should
always check that the device path is set in the publish context.

This will improve the error message for one of the bugs encountered in #278.
@apricote apricote force-pushed the check-if-device-path-is-set branch from 99ad6e1 to d09eb9b Compare December 14, 2022 16:18
@jonasbadstuebner jonasbadstuebner merged commit e10a680 into main Dec 15, 2022
@jonasbadstuebner jonasbadstuebner deleted the check-if-device-path-is-set branch December 15, 2022 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants