Skip to content

Commit

Permalink
Fixes change in grpc api
Browse files Browse the repository at this point in the history
  • Loading branch information
ckaznocha committed Aug 26, 2016
1 parent 760ee94 commit 1c5bbbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gRPC.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type jwtAccess struct {
}

/*
NewJWTAccessFromJWT creates a JWT credentials.Credentials which can be used
NewJWTAccessFromJWT creates a JWT credentials.PerRPCCredentials which can be used
in gRPC requests.
*/
func NewJWTAccessFromJWT(jsonKey string) (credentials.Credentials, error) {
func NewJWTAccessFromJWT(jsonKey string) (credentials.PerRPCCredentials, error) {
return jwtAccess{jsonKey}, nil
}

Expand Down

0 comments on commit 1c5bbbe

Please sign in to comment.