Skip to content

Commit b8c7c8e

Browse files
committed
fixing err declaration
1 parent 3093522 commit b8c7c8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

auth/gcp/iam.go

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ type IAMClaimSet struct {
4040
// NewDefaultIAMVerifier will verify tokens that have the same default service account as
4141
// the server running this verifier.
4242
func NewDefaultIAMVerifier(ctx context.Context, cfg IAMConfig, clientFunc func(context.Context) *http.Client) (*auth.Verifier, error) {
43+
var err error
4344
eml := cfg.ServiceAccountEmail
4445
if eml == "" {
4546
eml, err = GetDefaultEmail(ctx, "", clientFunc(ctx))

0 commit comments

Comments
 (0)