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:
@@ -15,7 +15,7 @@ enum Status {
|
||||
}
|
||||
|
||||
message Container {
|
||||
string id = 1 [(gogoproto.customname) = "ID"];
|
||||
string id = 1;
|
||||
uint32 pid = 2;
|
||||
Status status = 3;
|
||||
}
|
||||
@@ -39,7 +39,7 @@ message User {
|
||||
}
|
||||
|
||||
message Event {
|
||||
string id = 1 [(gogoproto.customname) = "ID"];
|
||||
string id = 1;
|
||||
|
||||
enum EventType {
|
||||
EXIT = 0;
|
||||
|
||||
Reference in New Issue
Block a user