Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenmj committed Oct 8, 2023
1 parent 76aa95b commit 516fb4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/jwt/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,18 @@ func NewSignatureValidatorFromJSONWebKeySetFile(path string, group program.Group
group.Go(func(ctx context.Context, siblingsGroup, dependenciesGroup program.Group) error {
t := time.NewTicker(300 * time.Second)
for {
select {
case <-t.C:
select {
case <-t.C:
internalValidator, err := getJwksFromFile(path)
if err != nil {
return err
}

forwardingValidator.Replace(internalValidator)
case <-ctx.Done():
case <-ctx.Done():
return util.StatusFromContext(ctx)
}
}
}
}
})

return forwardingValidator, nil
Expand Down
Empty file modified pkg/proto/configuration/jwt/jwt.pb.go
100755 → 100644
Empty file.

0 comments on commit 516fb4e

Please sign in to comment.