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:
Stephen J Day
2017-05-18 18:34:34 -07:00
parent 0dbe46d952
commit cb68150a2f
7 changed files with 77 additions and 21 deletions

View File

@@ -19,7 +19,7 @@ enum Kind {
// Snapshot defines the storage type for a snapshot in the
// metadata store.
message Snapshot {
uint64 id = 1 [(gogoproto.customname) = "ID"];
uint64 id = 1;
string parent = 2;
Kind kind = 4;
bool readonly = 5;