Skip to content

Commit

Permalink
Update fence/blueprints/data/indexd.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander VanTol <[email protected]>
  • Loading branch information
BinamB and Avantol13 authored Jun 27, 2022
1 parent a1bce6d commit a96c5f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fence/blueprints/data/indexd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ def _generate_google_storage_signed_url(
else:
del self._assume_role_cache_gs[proxy_group_id]

if is_cached == False and hasattr(flask.current_app, "db"):
if not is_cached and hasattr(flask.current_app, "db"):
with flask.current_app.db.session as session:
cache = (
session.query(AssumeRoleCacheGCP)
Expand Down

0 comments on commit a96c5f3

Please sign in to comment.