From ca129f5e97eaca20b2b9b78f5bbf596787a718a0 Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Fri, 28 Aug 2015 17:08:48 -0700 Subject: [PATCH] gofmt -w --- credentials/oauth/oauth.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/credentials/oauth/oauth.go b/credentials/oauth/oauth.go index 7b402b84..9eff9c5b 100644 --- a/credentials/oauth/oauth.go +++ b/credentials/oauth/oauth.go @@ -67,7 +67,6 @@ func (ts TokenSource) RequireTransportSecurity() bool { type jwtAccess struct { jsonKey []byte - //ts oauth2.TokenSource } func NewJWTAccessFromFile(keyFile string) (credentials.Credentials, error) { @@ -79,7 +78,7 @@ func NewJWTAccessFromFile(keyFile string) (credentials.Credentials, error) { } func NewJWTAccessFromKey(jsonKey []byte) (credentials.Credentials, error) { - return jwtAccess{ jsonKey }, nil + return jwtAccess{jsonKey}, nil } func (j jwtAccess) GetRequestMetadata(ctx context.Context, audience ...string) (map[string]string, error) {