Skip to content

Commit

Permalink
Merge pull request #79 from logfire-ai/repo-sync/cli-private/main
Browse files Browse the repository at this point in the history
πŸ”„ synced file(s) with logfire-ai/cli-private
  • Loading branch information
Quelaan1 authored Jun 7, 2024
2 parents 8c454cb + 67a37e2 commit e39f941
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/cmdutil/grpcutil/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
pb "github.com/logfire-sh/cli/services/flink-service"
"google.golang.org/grpc"

//"google.golang.org/grpc/credentials"
"log"

"google.golang.org/grpc/credentials"
"google.golang.org/grpc/metadata"
)

Expand Down Expand Up @@ -41,8 +41,8 @@ func NewFilterService(kv ...string) *FilterService {
allParams = append(allParams, "Authorization", "Bearer "+cfg.Get().Token)
allParams = append(allParams, kv...)

conn, err := grpc.Dial(grpc_url, grpc.WithTransportCredentials(credentials.NewClientTLSFromCert(nil, "")), grpc.WithUnaryInterceptor(authUnaryInterceptor(allParams...)), grpc.WithUserAgent("Logfire-cli"))
// conn, err := grpc.Dial(grpc_url, grpc.WithInsecure(), grpc.WithUnaryInterceptor(authUnaryInterceptor(allParams...)), grpc.WithUserAgent("Logfire-cli"))
// conn, err := grpc.Dial(grpc_url, grpc.WithTransportCredentials(credentials.NewClientTLSFromCert(nil, "")), grpc.WithUnaryInterceptor(authUnaryInterceptor(allParams...)), grpc.WithUserAgent("Logfire-cli"))
conn, err := grpc.Dial(grpc_url, grpc.WithInsecure(), grpc.WithUnaryInterceptor(authUnaryInterceptor(allParams...)), grpc.WithUserAgent("Logfire-cli"))

if err != nil {
log.Fatalf("Failed to dial server: %v", err)
Expand Down

0 comments on commit e39f941

Please sign in to comment.