From 77df6c2fbd488a1ec4cebeffaba432dedde102f4 Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Thu, 23 Feb 2017 10:32:37 -0800 Subject: [PATCH] dbtesterpb: update comments in 'DatabaseID' --- dbtesterpb/database_id.pb.go | 5 +++-- dbtesterpb/database_id.proto | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dbtesterpb/database_id.pb.go b/dbtesterpb/database_id.pb.go index d1ef881f..0e5a2362 100644 --- a/dbtesterpb/database_id.pb.go +++ b/dbtesterpb/database_id.pb.go @@ -14,8 +14,9 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -// differentiate between major or minor releases (possibly different APIs). -// Make sure to make accordingn changes in 'flag_*' when a field is added/removed. +// DatabaseID differentiates between major or minor releases (possibly different APIs) +// of each database. Make sure to make accordingn changes in 'flag_*' whenever an ID +// is added/removed. type DatabaseID int32 const ( diff --git a/dbtesterpb/database_id.proto b/dbtesterpb/database_id.proto index 84543593..1798586c 100644 --- a/dbtesterpb/database_id.proto +++ b/dbtesterpb/database_id.proto @@ -8,8 +8,9 @@ option (gogoproto.sizer_all) = true; option (gogoproto.unmarshaler_all) = true; option (gogoproto.goproto_getters_all) = false; -// differentiate between major or minor releases (possibly different APIs). -// Make sure to make accordingn changes in 'flag_*' when a field is added/removed. +// DatabaseID differentiates between major or minor releases (possibly different APIs) +// of each database. Make sure to make accordingn changes in 'flag_*' whenever an ID +// is added/removed. enum DatabaseID { etcd__v2_3 = 0; etcd__v3_1 = 1;