Skip to content

Commit

Permalink
Fix incorrect argument and function naming in cloud api & manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
VJalili committed Sep 25, 2018
1 parent 0e40457 commit f3ebdae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/managers/cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def download(self, trans, history_id, bucket_name, authz_id, dataset_ids=None, o

cloudauthz = trans.app.authnz_manager.try_get_authz_config(trans, authz_id)
credentials = trans.app.authnz_manager.get_cloud_access_credentials(trans, cloudauthz)
connection = self._configure_provider(cloudauthz.provider, credentials)
connection = self.configure_provider(cloudauthz.provider, credentials)

bucket = connection.storage.buckets.get(bucket_name)
if bucket is None:
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/api/cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def download(self, trans, payload, **kwargs):

downloaded = self.cloud_manager.download(trans=trans,
history_id=history_id,
bucket=bucket,
bucket_name=bucket,
authz_id=authz_id,
dataset_ids=dataset_ids,
overwrite_existing=payload.get("overwrite_existing", False))
Expand Down

0 comments on commit f3ebdae

Please sign in to comment.