From b8c7c8e7f85eed8daac6b2e6c7eb62e5491375cf Mon Sep 17 00:00:00 2001 From: JP Robinson Date: Mon, 5 Nov 2018 17:31:12 -0500 Subject: [PATCH] fixing err declaration --- auth/gcp/iam.go | 1 + 1 file changed, 1 insertion(+) diff --git a/auth/gcp/iam.go b/auth/gcp/iam.go index e0b80afee..d807a3a4b 100644 --- a/auth/gcp/iam.go +++ b/auth/gcp/iam.go @@ -40,6 +40,7 @@ type IAMClaimSet struct { // NewDefaultIAMVerifier will verify tokens that have the same default service account as // the server running this verifier. func NewDefaultIAMVerifier(ctx context.Context, cfg IAMConfig, clientFunc func(context.Context) *http.Client) (*auth.Verifier, error) { + var err error eml := cfg.ServiceAccountEmail if eml == "" { eml, err = GetDefaultEmail(ctx, "", clientFunc(ctx))