Skip to content

Commit

Permalink
fix(941): Use default cred over hardcoded ones
Browse files Browse the repository at this point in the history
Signed-off-by: dark0dave <[email protected]>
  • Loading branch information
dark0dave committed Nov 27, 2023
1 parent 70fa8d9 commit bb9f946
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dropbox = [
"dropbox>=7.2.1; python_version<'3.12'",
]
google = [
"google-cloud-storage>=1.27",
"google-cloud-storage>=2.13",
]
libcloud = [
"apache-libcloud",
Expand Down
2 changes: 1 addition & 1 deletion storages/backends/gcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def get_default_settings(self):
@property
def client(self):
if self._client is None:
self._client = Client(project=self.project_id, credentials=self.credentials)
self._client = Client(project=self.project_id)
return self._client

@property
Expand Down

0 comments on commit bb9f946

Please sign in to comment.