Fix typos in interface comments
This commit is contained in:
@@ -94,7 +94,7 @@ type Driver interface {
|
|||||||
// If selectedNode is set, the driver must attempt to allocate for that
|
// If selectedNode is set, the driver must attempt to allocate for that
|
||||||
// node. If that is not possible, it must return an error. The
|
// node. If that is not possible, it must return an error. The
|
||||||
// controller will call UnsuitableNodes and pass the new information to
|
// 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.
|
// if the current one is not suitable.
|
||||||
//
|
//
|
||||||
// The Claim, ClaimParameters, Class, ClassParameters fields of "claims" parameter
|
// The Claim, ClaimParameters, Class, ClassParameters fields of "claims" parameter
|
||||||
|
|||||||
@@ -482,7 +482,7 @@ const _ = grpc.SupportPackageIsVersion4
|
|||||||
type NodeClient interface {
|
type NodeClient interface {
|
||||||
// NodePrepareResources prepares several ResourceClaims
|
// NodePrepareResources prepares several ResourceClaims
|
||||||
// for use on the node. If an error is returned, the
|
// 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.
|
// can be reported inside NodePrepareResourcesResponse.
|
||||||
NodePrepareResources(ctx context.Context, in *NodePrepareResourcesRequest, opts ...grpc.CallOption) (*NodePrepareResourcesResponse, error)
|
NodePrepareResources(ctx context.Context, in *NodePrepareResourcesRequest, opts ...grpc.CallOption) (*NodePrepareResourcesResponse, error)
|
||||||
// NodeUnprepareResources is the opposite of NodePrepareResources.
|
// NodeUnprepareResources is the opposite of NodePrepareResources.
|
||||||
@@ -520,7 +520,7 @@ func (c *nodeClient) NodeUnprepareResources(ctx context.Context, in *NodeUnprepa
|
|||||||
type NodeServer interface {
|
type NodeServer interface {
|
||||||
// NodePrepareResources prepares several ResourceClaims
|
// NodePrepareResources prepares several ResourceClaims
|
||||||
// for use on the node. If an error is returned, the
|
// 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.
|
// can be reported inside NodePrepareResourcesResponse.
|
||||||
NodePrepareResources(context.Context, *NodePrepareResourcesRequest) (*NodePrepareResourcesResponse, error)
|
NodePrepareResources(context.Context, *NodePrepareResourcesRequest) (*NodePrepareResourcesResponse, error)
|
||||||
// NodeUnprepareResources is the opposite of NodePrepareResources.
|
// NodeUnprepareResources is the opposite of NodePrepareResources.
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ option (gogoproto.goproto_unrecognized_all) = false;
|
|||||||
service Node {
|
service Node {
|
||||||
// NodePrepareResources prepares several ResourceClaims
|
// NodePrepareResources prepares several ResourceClaims
|
||||||
// for use on the node. If an error is returned, the
|
// 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.
|
// can be reported inside NodePrepareResourcesResponse.
|
||||||
rpc NodePrepareResources (NodePrepareResourcesRequest)
|
rpc NodePrepareResources (NodePrepareResourcesRequest)
|
||||||
returns (NodePrepareResourcesResponse) {}
|
returns (NodePrepareResourcesResponse) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user