dbtesterpb: update comments in 'DatabaseID'

This commit is contained in:
Gyu-Ho Lee 2017-02-23 10:32:37 -08:00
parent f7f7d785fb
commit 77df6c2fbd
No known key found for this signature in database
GPG Key ID: 1DDD39C7EB70C24C
2 changed files with 6 additions and 4 deletions

View File

@ -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 (

View File

@ -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;