mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Fix typos in interface comments
This commit is contained in:
parent
465d3bb65b
commit
080fe8346d
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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) {}
|
||||
|
Loading…
Reference in New Issue
Block a user