Skip to content

Commit

Permalink
Update token_source.go (#5396)
Browse files Browse the repository at this point in the history
minor fix

Signed-off-by: Ikko Eltociear Ashimine <[email protected]>
Co-authored-by: Kevin Su <[email protected]>
  • Loading branch information
eltociear and pingsutw authored Jun 25, 2024
1 parent 12bd353 commit dc6060d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flyteidl/clients/go/admin/token_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

// CustomHeaderTokenSource class is here because we cannot use the normal "github.com/grpc/grpc-go/credentials/oauth" package to satisfy
// the credentials.PerRPCCredentials interface. This is because we want to be able to support a different 'header'
// when passing the token in the gRPC call's metadata. The default is filled in in the constructor if none is supplied.
// when passing the token in the gRPC call's metadata. The default is filled in the constructor if none is supplied.
type CustomHeaderTokenSource struct {
tokenSource oauth2.TokenSource
customHeader string
Expand Down

0 comments on commit dc6060d

Please sign in to comment.