bergquist 8 лет назад
Родитель
Сommit
0bc5bf53ce
1 измененных файлов с 2 добавлено и 8 удалено
  1. 2 8
      pkg/tsdb/plugins/plugins.go

+ 2 - 8
pkg/tsdb/plugins/plugins.go

@@ -13,16 +13,10 @@ import (
 
 func Init() (*plugin.Client, error) {
 	/*
-		Setup
-
-		go get -u google.golang.org/grpc \
-		go get -u github.com/golang/protobuf/{proto,protoc-gen-go} \
-		go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway \
+		setup protoc using https://gist.github.com/bergquist/5df1f201bb605e42538ef40f6ccf82a9
+		run "protoc --go_out=plugins=grpc:. *.proto" to update proto files
 	*/
 
-	/*
-		protoc --go_out=plugins=grpc:. *.proto
-	*/
 	logger := log.New("grafana.plugins")
 	client := plugin.NewClient(&plugin.ClientConfig{
 		HandshakeConfig: plugin.HandshakeConfig{