Sean Rees
12e1e98615
google: fix warnings from go vet
...
go vet reports the following warnings:
google/jwt_test.go:85:
missing argument for Fatalf("%q"): format reads arg 2, have only 1 args
google/sdk_test.go:28:
wrong number of args for format in Errorf call: 1 needed but 2 args
Change-Id: If5acfae42b558ced7694dd7bc6f12ab4a3cb6115
Reviewed-on: https://go-review.googlesource.com/24992
Reviewed-by: Jaana Burcu Dogan <jbd@google.com >
2016-07-19 16:36:24 +00:00
Andrew Gerrand
038cb4adce
all: change copyright to 'Go Authors'
...
Fixes golang/go#12354
Change-Id: Ie4bbe9445e2a840c9db830c9bd52a783b7a6f9bc
Reviewed-on: https://go-review.googlesource.com/13952
Reviewed-by: Russ Cox <rsc@golang.org >
2015-10-22 04:14:42 +00:00
Yuki Yugui Sonoda
721c86aedb
oauth2/google: fix decode error in Cloud SDK config
...
google.NewCloudSDK fails to decode credentials file if it contains
service account.
NOTE: the private key in testdata is generated only for this test.
Fixes #86 (https://github.com/golang/oauth2/issues/86 ).
Change-Id: I9e9e8e10763723d1bf1f953b491aa6e6f3ee760c
Reviewed-on: https://go-review.googlesource.com/4220
Reviewed-by: Andrew Gerrand <adg@golang.org >
2015-02-12 05:35:05 +00:00
Dave Day
d838a7d6be
oauth2/google: simplify the mechanism for overriding gcloud config location
...
Change-Id: I360fac6b13d11dda221beaa6b46ff386adfc2ec8
Reviewed-on: https://go-review.googlesource.com/4670
Reviewed-by: David Symonds <dsymonds@golang.org >
Run-TryBot: David Symonds <dsymonds@golang.org >
2015-02-12 04:54:22 +00:00
Johan Euphrosine
ab6e11b96c
oauth2/google: add config type to use Cloud SDK credentials
...
Change-Id: Ied7fecc0cb155c33faca7766b81221eacb3aa0c0
Reviewed-on: https://go-review.googlesource.com/1670
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org >
Reviewed-by: Burcu Dogan <jbd@google.com >
2015-01-21 19:13:56 +00:00