diff --git a/infra/gcb/builds_status.py b/infra/gcb/builds_status.py index da6c1ddf7..5352d36f5 100755 --- a/infra/gcb/builds_status.py +++ b/infra/gcb/builds_status.py @@ -29,8 +29,8 @@ _client = None def _get_storage_client(): """Return storage client.""" + global _client if not _client: - global _client _client = storage.Client() return _client