Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: pbarker <pbarker@datapipe.com>
  • Loading branch information
pbarker committed May 8, 2017
1 parent c1bca56 commit 9967425
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions jwk/manager_memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"github.com/ory-am/hydra/pkg"
"github.com/pkg/errors"
"github.com/square/go-jose"
"strings"
)

type MemoryManager struct {
Expand Down Expand Up @@ -38,7 +37,6 @@ func (m *MemoryManager) GetKey(set, kid string) (*jose.JsonWebKeySet, error) {
defer m.RUnlock()

m.alloc()

keys, found := m.Keys[set]
if !found {
return nil, errors.Wrap(pkg.ErrNotFound, "")
Expand Down

0 comments on commit 9967425

Please sign in to comment.