diff --git a/go.mod b/go.mod index 5cf2d114..3c3e4fc4 100644 --- a/go.mod +++ b/go.mod @@ -30,6 +30,7 @@ require ( go.uber.org/atomic v1.11.0 go.uber.org/zap v1.27.0 golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f + golang.org/x/oauth2 v0.21.0 google.golang.org/api v0.183.0 google.golang.org/grpc v1.64.0 google.golang.org/protobuf v1.34.1 @@ -115,7 +116,6 @@ require ( go.uber.org/zap/exp v0.2.0 // indirect golang.org/x/crypto v0.23.0 // indirect golang.org/x/net v0.25.0 // indirect - golang.org/x/oauth2 v0.21.0 // indirect golang.org/x/sync v0.7.0 // indirect golang.org/x/sys v0.20.0 // indirect golang.org/x/text v0.15.0 // indirect diff --git a/pkg/pipeline/sink/uploader/gcp.go b/pkg/pipeline/sink/uploader/gcp.go index caa73bc7..cf5f5b99 100644 --- a/pkg/pipeline/sink/uploader/gcp.go +++ b/pkg/pipeline/sink/uploader/gcp.go @@ -50,7 +50,6 @@ func newGCPUploader(conf *livekit.GCPUpload) (uploader, error) { return nil, err } opts = append(opts, option.WithTokenSource(jwtConfig.TokenSource(context.Background()))) - // opts = append(opts, option.WithCredentialsJSON([]byte(conf.Credentials))) } defaultTransport := http.DefaultTransport.(*http.Transport)