Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: grpc/cmd/cproto/discovery.go

Issue 2219023003: Update APIs to use new Google cloud paths. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: grpc/cmd/cproto/discovery.go
diff --git a/grpc/cmd/cproto/discovery.go b/grpc/cmd/cproto/discovery.go
index 6252f881a456d275dc2f438d27ea073b63207262..751d60041bb86867bb1ed34301995a6a9ce2e207 100644
--- a/grpc/cmd/cproto/discovery.go
+++ b/grpc/cmd/cproto/discovery.go
@@ -15,8 +15,8 @@ import (
"text/template"
"github.com/golang/protobuf/proto"
- "github.com/luci/luci-go/common/proto/google/descriptor"
"golang.org/x/net/context"
+ "google.golang.org/genproto/protobuf"
)
const (
@@ -33,7 +33,7 @@ package {{.GoPkg}};
{{if .ImportDiscovery}}
import discovery "github.com/luci/luci-go/grpc/discovery"
{{end}}
-import "github.com/luci/luci-go/common/proto/google/descriptor"
+import "google.golang.org/genproto/protobuf"
func init() {
{{if .ImportDiscovery}}discovery.{{end}}RegisterDescriptorSetCompressed(

Powered by Google App Engine
This is Rietveld 408576698