fix minor mistakes

Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
This commit is contained in:
Xianglin Gao 2016-08-09 15:09:31 +08:00
parent 87f71a1ad0
commit 3b8f932ea9
2 changed files with 2 additions and 2 deletions

View File

@ -1602,7 +1602,7 @@ type ContainerFilter struct {
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// ID of the container. // ID of the container.
Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
// State of the contianer. // State of the container.
State *ContainerState `protobuf:"varint,3,opt,name=state,enum=runtime.ContainerState" json:"state,omitempty"` State *ContainerState `protobuf:"varint,3,opt,name=state,enum=runtime.ContainerState" json:"state,omitempty"`
// The id of the pod sandbox // The id of the pod sandbox
PodSandboxId *string `protobuf:"bytes,4,opt,name=pod_sandbox_id" json:"pod_sandbox_id,omitempty"` PodSandboxId *string `protobuf:"bytes,4,opt,name=pod_sandbox_id" json:"pod_sandbox_id,omitempty"`

View File

@ -491,7 +491,7 @@ message ContainerFilter {
optional string name = 1; optional string name = 1;
// ID of the container. // ID of the container.
optional string id = 2; optional string id = 2;
// State of the contianer. // State of the container.
optional ContainerState state = 3; optional ContainerState state = 3;
// The id of the pod sandbox // The id of the pod sandbox
optional string pod_sandbox_id = 4; optional string pod_sandbox_id = 4;