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

csi: fix mount validation #7869

Merged
merged 1 commit into from
May 5, 2020
Merged

csi: fix mount validation #7869

merged 1 commit into from
May 5, 2020

Conversation

tgross
Copy link
Member

@tgross tgross commented May 5, 2020

Fixes a bug introduced in #7831 which is currently causing failures on nightly.

Several of the CSI VolumeCapability methods return pointers, which we were then comparing to pointers in the request rather than dereferencing them and comparing their contents.

This changeset does a more fine-grained comparison of the request vs the capabilities, and adds better error messaging.

Several of the CSI `VolumeCapability` methods return pointers, which
we were then comparing to pointers in the request rather than
dereferencing them and comparing their contents.

This changeset does a more fine-grained comparison of the request vs
the capabilities, and adds better error messaging.
@tgross tgross added this to the 0.11.2 milestone May 5, 2020
@tgross tgross requested a review from langmartin May 5, 2020 16:11
Copy link
Contributor

@langmartin langmartin left a comment

Choose a reason for hiding this comment

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

👍

@tgross tgross merged commit 1585d34 into master May 5, 2020
@tgross tgross deleted the csi_mount_validation branch May 5, 2020 19:13
@github-actions
Copy link

github-actions bot commented Jan 7, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants