mirror of https://github.com/etcd-io/dbtester.git
dbtesterpb: update comments in 'DatabaseID'
This commit is contained in:
parent
f7f7d785fb
commit
77df6c2fbd
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue