mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Updated the tools/proto-annotation to exclude grpc.gateway package
Signed-off-by: Benjamin Wang <wachao@vmware.com>
This commit is contained in:
parent
5444cdae69
commit
d06cdfa1ee
@ -29,8 +29,15 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
// externalPackages that are not expected to have etcd version annotation.
|
// externalPackages that are not expected to have etcd version annotation.
|
||||||
externalPackages = []string{"io.prometheus.client", "grpc.binarylog.v1", "google.protobuf", "google.rpc", "google.api", "raftpb",
|
externalPackages = []string{
|
||||||
|
"io.prometheus.client",
|
||||||
|
"grpc.binarylog.v1",
|
||||||
|
"google.protobuf",
|
||||||
|
"google.rpc",
|
||||||
|
"google.api",
|
||||||
|
"raftpb",
|
||||||
"grpc.gateway.protoc_gen_swagger.options",
|
"grpc.gateway.protoc_gen_swagger.options",
|
||||||
|
"grpc.gateway.protoc_gen_openapiv2.options",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user