Unverified Commit c2570acc authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #70936 from yanghaichao12/dev1112

correct some spelling wrong in DevicePlugin files
parents 6fb69d39 70c41803
...@@ -135,7 +135,7 @@ func (*Empty) ProtoMessage() {} ...@@ -135,7 +135,7 @@ func (*Empty) ProtoMessage() {}
func (*Empty) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{2} } func (*Empty) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{2} }
// ListAndWatch returns a stream of List of Devices // ListAndWatch returns a stream of List of Devices
// Whenever a Device state change or a Device disapears, ListAndWatch // Whenever a Device state change or a Device disappears, ListAndWatch
// returns the new list // returns the new list
type ListAndWatchResponse struct { type ListAndWatchResponse struct {
Devices []*Device `protobuf:"bytes,1,rep,name=devices" json:"devices,omitempty"` Devices []*Device `protobuf:"bytes,1,rep,name=devices" json:"devices,omitempty"`
...@@ -482,7 +482,7 @@ type DevicePluginClient interface { ...@@ -482,7 +482,7 @@ type DevicePluginClient interface {
// Manager // Manager
GetDevicePluginOptions(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*DevicePluginOptions, error) GetDevicePluginOptions(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*DevicePluginOptions, error)
// ListAndWatch returns a stream of List of Devices // ListAndWatch returns a stream of List of Devices
// Whenever a Device state change or a Device disapears, ListAndWatch // Whenever a Device state change or a Device disappears, ListAndWatch
// returns the new list // returns the new list
ListAndWatch(ctx context.Context, in *Empty, opts ...grpc.CallOption) (DevicePlugin_ListAndWatchClient, error) ListAndWatch(ctx context.Context, in *Empty, opts ...grpc.CallOption) (DevicePlugin_ListAndWatchClient, error)
// Allocate is called during container creation so that the Device // Allocate is called during container creation so that the Device
...@@ -569,7 +569,7 @@ type DevicePluginServer interface { ...@@ -569,7 +569,7 @@ type DevicePluginServer interface {
// Manager // Manager
GetDevicePluginOptions(context.Context, *Empty) (*DevicePluginOptions, error) GetDevicePluginOptions(context.Context, *Empty) (*DevicePluginOptions, error)
// ListAndWatch returns a stream of List of Devices // ListAndWatch returns a stream of List of Devices
// Whenever a Device state change or a Device disapears, ListAndWatch // Whenever a Device state change or a Device disappears, ListAndWatch
// returns the new list // returns the new list
ListAndWatch(*Empty, DevicePlugin_ListAndWatchServer) error ListAndWatch(*Empty, DevicePlugin_ListAndWatchServer) error
// Allocate is called during container creation so that the Device // Allocate is called during container creation so that the Device
......
...@@ -51,7 +51,7 @@ service DevicePlugin { ...@@ -51,7 +51,7 @@ service DevicePlugin {
rpc GetDevicePluginOptions(Empty) returns (DevicePluginOptions) {} rpc GetDevicePluginOptions(Empty) returns (DevicePluginOptions) {}
// ListAndWatch returns a stream of List of Devices // ListAndWatch returns a stream of List of Devices
// Whenever a Device state change or a Device disapears, ListAndWatch // Whenever a Device state change or a Device disappears, ListAndWatch
// returns the new list // returns the new list
rpc ListAndWatch(Empty) returns (stream ListAndWatchResponse) {} rpc ListAndWatch(Empty) returns (stream ListAndWatchResponse) {}
...@@ -67,7 +67,7 @@ service DevicePlugin { ...@@ -67,7 +67,7 @@ service DevicePlugin {
} }
// ListAndWatch returns a stream of List of Devices // ListAndWatch returns a stream of List of Devices
// Whenever a Device state change or a Device disapears, ListAndWatch // Whenever a Device state change or a Device disappears, ListAndWatch
// returns the new list // returns the new list
message ListAndWatchResponse { message ListAndWatchResponse {
repeated Device devices = 1; repeated Device devices = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment