Skip to content

Commit

Permalink
changing clear_cache to cache_clear
Browse files Browse the repository at this point in the history
  • Loading branch information
Bento007 committed Oct 29, 2019
1 parent 55c50c3 commit 802898c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fusillade/utils/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get_public_key(issuer: str, kid: str) -> bytearray:
"issuer": issuer,
"kid": kid})
logger.debug({"message": "Clearing public key cache."})
get_public_keys.clear_cache()
get_public_keys.cache_clear()
public_keys = get_public_keys(issuer)
try:
return public_keys[kid]
Expand Down

0 comments on commit 802898c

Please sign in to comment.