protos: remove need for customname on ID fields
Credit to Aaron Lehmann for the implementation from SwarmKit. Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
@@ -31,7 +31,7 @@ service Shim {
|
||||
}
|
||||
|
||||
message CreateRequest {
|
||||
string id = 1 [(gogoproto.customname) = "ID"];
|
||||
string id = 1;
|
||||
string bundle = 2;
|
||||
string runtime = 3;
|
||||
bool no_pivot = 4;
|
||||
@@ -89,7 +89,7 @@ message StateRequest {
|
||||
}
|
||||
|
||||
message StateResponse {
|
||||
string id = 1 [(gogoproto.customname) = "ID"];
|
||||
string id = 1;
|
||||
string bundle = 2;
|
||||
uint32 pid = 3;
|
||||
containerd.v1.types.Status status = 4;
|
||||
@@ -116,7 +116,7 @@ message CloseStdinRequest {
|
||||
}
|
||||
|
||||
message ProcessesRequest {
|
||||
string id = 1 [(gogoproto.customname) = "ID"];
|
||||
string id = 1;
|
||||
}
|
||||
|
||||
message ProcessesResponse{
|
||||
|
||||
Reference in New Issue
Block a user