Fix typos in interface comments

This commit is contained in:
Alexey Fomenko 2023-10-30 16:36:43 +02:00
parent 465d3bb65b
commit 080fe8346d
No known key found for this signature in database
GPG Key ID: 6E69CDBE939C35EE
3 changed files with 4 additions and 4 deletions

View File

@ -94,7 +94,7 @@ type Driver interface {
// If selectedNode is set, the driver must attempt to allocate for that
// node. If that is not possible, it must return an error. The
// controller will call UnsuitableNodes and pass the new information to
// the scheduler, which then will lead to selecting a diffent node
// the scheduler, which then will lead to selecting a different node
// if the current one is not suitable.
//
// The Claim, ClaimParameters, Class, ClassParameters fields of "claims" parameter

View File

@ -482,7 +482,7 @@ const _ = grpc.SupportPackageIsVersion4
type NodeClient interface {
// NodePrepareResources prepares several ResourceClaims
// for use on the node. If an error is returned, the
// response is ignored. Failures for individidual claims
// response is ignored. Failures for individual claims
// can be reported inside NodePrepareResourcesResponse.
NodePrepareResources(ctx context.Context, in *NodePrepareResourcesRequest, opts ...grpc.CallOption) (*NodePrepareResourcesResponse, error)
// NodeUnprepareResources is the opposite of NodePrepareResources.
@ -520,7 +520,7 @@ func (c *nodeClient) NodeUnprepareResources(ctx context.Context, in *NodeUnprepa
type NodeServer interface {
// NodePrepareResources prepares several ResourceClaims
// for use on the node. If an error is returned, the
// response is ignored. Failures for individidual claims
// response is ignored. Failures for individual claims
// can be reported inside NodePrepareResourcesResponse.
NodePrepareResources(context.Context, *NodePrepareResourcesRequest) (*NodePrepareResourcesResponse, error)
// NodeUnprepareResources is the opposite of NodePrepareResources.

View File

@ -34,7 +34,7 @@ option (gogoproto.goproto_unrecognized_all) = false;
service Node {
// NodePrepareResources prepares several ResourceClaims
// for use on the node. If an error is returned, the
// response is ignored. Failures for individidual claims
// response is ignored. Failures for individual claims
// can be reported inside NodePrepareResourcesResponse.
rpc NodePrepareResources (NodePrepareResourcesRequest)
returns (NodePrepareResourcesResponse) {}