Skip to content

Commit

Permalink
fixing err declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
jprobinson committed Nov 5, 2018
1 parent 3093522 commit b8c7c8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auth/gcp/iam.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit b8c7c8e

Please sign in to comment.