Skip to content

Commit

Permalink
Remove unused check
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonodonnell committed Mar 16, 2022
1 parent 73c5292 commit 121d95a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vault/identity_store_oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -623,9 +623,7 @@ func (i *IdentityStore) keyIDsByName(ctx context.Context, s logical.Storage, nam
}

for _, k := range key.KeyRing {
if !strutil.StrListContains(keyIDs, k.KeyID) {
keyIDs = append(keyIDs, k.KeyID)
}
keyIDs = append(keyIDs, k.KeyID)
}

return keyIDs, nil
Expand Down

0 comments on commit 121d95a

Please sign in to comment.