Created
December 12, 2019 21:12
-
-
Save kmcminn/8002bddb427ed7afe6f472109ee09ba3 to your computer and use it in GitHub Desktop.
diff gcs/client.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gcs_sa/gcs/client.py b/gcs_sa/gcs/client.py | |
index bd49432..61d9b5f 100644 | |
--- a/gcs_sa/gcs/client.py | |
+++ b/gcs_sa/gcs/client.py | |
@@ -45,7 +45,7 @@ class GCSClientPool(): | |
self.lock.acquire() | |
if len(self.clients) < self.pool_size: | |
LOG.debug("Making new GCS client.") | |
- self.clients.append(storage.Client(config.get('GCP', 'PROJECT'))) | |
+ self.clients.append(storage.Client(config.get('GCP', 'GCS_PROJECT'))) | |
client = self.clients[self.next_up] | |
self.next_up += 1 | |
if self.next_up >= self.pool_size - 1: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment