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: add node events to report progress mounting and unmounting volumes #7547

Merged
merged 13 commits into from
Mar 31, 2020

Conversation

langmartin
Copy link
Contributor

@langmartin langmartin commented Mar 30, 2020

Fixes #7219

@langmartin langmartin marked this pull request as ready for review March 30, 2020 20:51
@langmartin langmartin requested a review from tgross March 30, 2020 20:51
Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

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

LGTM!

AddDetail("Volume namespace", vol.Namespace).
AddDetail("Volume ID", vol.ID)
if err == nil {
event.AddDetail("Success", "true")
Copy link
Member

Choose a reason for hiding this comment

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

Maybe nitpicky, but everywhere else we create node events, the subsystem is PascalCased, the message is Sentence cased, and the detail fields are snake_cased.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call, changed

@langmartin langmartin merged commit bc750d8 into master Mar 31, 2020
@langmartin langmartin deleted the f-csi-node-events branch March 31, 2020 21:13
@github-actions
Copy link

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 12, 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.

NodeEvents for CSI Volume Attachment/Detachment
2 participants