From de1eab4596908479ef93dcfc23381583fbccfb0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 26 Jan 2018 14:58:42 +0100 Subject: [PATCH] GCS: the slash is a separator, and not part of the directory name itself. --- pillar/api/file_storage_backends/gcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar/api/file_storage_backends/gcs.py b/pillar/api/file_storage_backends/gcs.py index 780aaa99..5829125b 100644 --- a/pillar/api/file_storage_backends/gcs.py +++ b/pillar/api/file_storage_backends/gcs.py @@ -51,7 +51,7 @@ class GoogleCloudStorageBucket(Bucket): backend_name = 'gcs' - def __init__(self, name: str, subdir='_/') -> None: + def __init__(self, name: str, subdir='_') -> None: super().__init__(name=name) self._log = logging.getLogger(f'{__name__}.GoogleCloudStorageBucket')