mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
*: run "gofmt -s" on genproto complete
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
parent
b95f135e10
commit
d93c36bbb9
@ -104,7 +104,9 @@ var RangeRequest_SortTarget_value = map[string]int32{
|
||||
func (x RangeRequest_SortTarget) String() string {
|
||||
return proto.EnumName(RangeRequest_SortTarget_name, int32(x))
|
||||
}
|
||||
func (RangeRequest_SortTarget) EnumDescriptor() ([]byte, []int) { return fileDescriptorRpc, []int{1, 1} }
|
||||
func (RangeRequest_SortTarget) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptorRpc, []int{1, 1}
|
||||
}
|
||||
|
||||
type Compare_CompareResult int32
|
||||
|
||||
|
@ -84,6 +84,7 @@ for dir in ${DIRS}; do
|
||||
# shellcheck disable=SC1117
|
||||
sed -i.bak -E "s/go.etcd.io\/etcd\//go.etcd.io\/etcd\/v3\//" ./*.pb.go
|
||||
rm -f ./*.bak
|
||||
gofmt -s -w ./*.pb.go
|
||||
goimports -w ./*.pb.go
|
||||
popd
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user