-
Notifications
You must be signed in to change notification settings - Fork 617
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 some typos #2488
Fix some typos #2488
Conversation
Hi @jeffyjf. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
2f0f432
to
1bbfc9f
Compare
Fix some typos that I found with vsocde spellchecker plugin[1]. [1] https://github.com/streetsidesoftware/vscode-spell-checker
cc @dulek asking for review. |
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thank you so much @jeffyjf! I'll leave setting the other label to another member of the team, I'd like another opinion on changing user-facing messages.
/approve
return nil, status.Errorf(codes.NotFound, "ValidateVolumeCapabiltites Volume %s not found", volumeID) | ||
return nil, status.Errorf(codes.NotFound, "ValidateVolumeCapabilities Volume %s not found", volumeID) | ||
} | ||
return nil, status.Errorf(codes.Internal, "ValidateVolumeCapabiltites %v", err) | ||
return nil, status.Errorf(codes.Internal, "ValidateVolumeCapabilities %v", err) | ||
} | ||
|
||
for _, cap := range reqVolCap { | ||
if cap.GetAccessMode().GetMode() != cs.Driver.vcap[0].Mode { | ||
return &csi.ValidateVolumeCapabilitiesResponse{Message: "Requested Volume Capabilty not supported"}, nil | ||
return &csi.ValidateVolumeCapabilitiesResponse{Message: "Requested Volume Capability not supported"}, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These three can affect the users, but if they depend on message contents, then they probably deserve it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree
@@ -317,7 +317,7 @@ func nodeUnpublishEphemeral(req *csi.NodeUnpublishVolumeRequest, ns *nodeServer, | |||
if len(vol.Attachments) > 0 { | |||
instanceID = vol.Attachments[0].ServerID | |||
} else { | |||
return nil, status.Error(codes.FailedPrecondition, "Volume attachement not found in request") | |||
return nil, status.Error(codes.FailedPrecondition, "Volume attachment not found in request") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dulek The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
/test openstack-cloud-csi-cinder-e2e-test |
In my option, they should be corrected. Due to some log system or monitor system maybe use regular expression to filter the results, in this case incorrect spelling will result in incorrect result. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@@ -173,7 +173,7 @@ func (os *OpenStack) WaitSnapshotReady(snapshotID string) error { | |||
}) | |||
|
|||
if wait.Interrupted(err) { | |||
err = fmt.Errorf("Timeout, Snapshot %s is still not Ready %v", snapshotID, err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why don't we just return here
What this PR does / why we need it:
I found some typos by vsocde spellchecker plugin.
Which issue this PR fixes(if applicable):
fixes #
Special notes for reviewers:
Release note: