mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
scripts/genproto.sh: fix module path of wal proto files
This commit is contained in:
parent
519f62b269
commit
9038e65359
@ -34,7 +34,7 @@ echo " - grpc-gateway-root: ${GRPC_GATEWAY_ROOT}"
|
||||
GOGOPROTO_PATH="${GOGOPROTO_ROOT}:${GOGOPROTO_ROOT}/protobuf"
|
||||
|
||||
# directories containing protos to be built
|
||||
DIRS="./server/wal/walpb ./api/etcdserverpb ./server/etcdserver/api/snap/snappb ./raft/raftpb ./api/mvccpb ./server/lease/leasepb ./api/authpb ./server/etcdserver/api/v3lock/v3lockpb ./server/etcdserver/api/v3election/v3electionpb ./api/membershippb ./tests/functional ./api/versionpb"
|
||||
DIRS="./server/storage/wal/walpb ./api/etcdserverpb ./server/etcdserver/api/snap/snappb ./raft/raftpb ./api/mvccpb ./server/lease/leasepb ./api/authpb ./server/etcdserver/api/v3lock/v3lockpb ./server/etcdserver/api/v3election/v3electionpb ./api/membershippb ./tests/functional ./api/versionpb"
|
||||
|
||||
log_callout -e "\\nRunning gofast (gogo) proto generation..."
|
||||
|
||||
|
@ -133,7 +133,7 @@ func (ki *keyIndex) tombstone(lg *zap.Logger, main int64, sub int64) error {
|
||||
}
|
||||
|
||||
// get gets the modified, created revision and version of the key that satisfies the given atRev.
|
||||
// Rev must be higher than or equal to the given atRev.
|
||||
// Rev must be smaller than or equal to the given atRev.
|
||||
func (ki *keyIndex) get(lg *zap.Logger, atRev int64) (modified, created revision, ver int64, err error) {
|
||||
if ki.isEmpty() {
|
||||
lg.Panic(
|
||||
|
Loading…
x
Reference in New Issue
Block a user