Skip to content

Commit

Permalink
Bugfix: allow_domains vs allowed_domains
Browse files Browse the repository at this point in the history
I've confirmed with the team that this was always incorrect -- there
was never a version which accepted `allow_domains`.
  • Loading branch information
sirosen committed Dec 17, 2024
1 parent fa22c64 commit 1d6b937
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Fixed
~~~~~

- Fix a bug in ``StorageGatewayDocument`` which stored any ``allowed_domains``
argument under an ``"allow_domains"`` key instead of the correct key,
``"allowed_domains"``. (:pr:`NUMBER`)
2 changes: 1 addition & 1 deletion src/globus_sdk/services/gcs/data/storage_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __init__(
root=root,
)
self._set_optstrlists(
allow_domains=allowed_domains,
allowed_domains=allowed_domains,
users_allow=users_allow,
users_deny=users_deny,
)
Expand Down

0 comments on commit 1d6b937

Please sign in to comment.