Skip to content

Commit

Permalink
Update fence/blueprints/data/indexd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre authored Mar 10, 2020
1 parent bbbbd05 commit 7d78f17
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 @@ -641,7 +641,7 @@ def get_signed_url(
# only attempt to get the region when we're not specifying an
# s3-compatible endpoint URL (ex: no need for region when using cleversafe)
region = None
if not current_bucket.get("endpoint_url"):
if not bucket.get("endpoint_url"):
region = self.get_bucket_region()
if not region:
region = flask.current_app.boto.get_bucket_region(
Expand Down

0 comments on commit 7d78f17

Please sign in to comment.