From c0abf5cffce7a28c8d9a6698670f85fbd5515fdc Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 16 Jul 2020 12:32:02 -0700 Subject: [PATCH] Fix GCS log upload The google-auth Credential class added some new variables in the constructor; make sure that we call it in order to avoid later reference errors. Change-Id: I338a3368b90a6612801ba587982d3053bbd3ba78 --- roles/upload-logs-gcs/library/zuul_google_storage_upload.py | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/upload-logs-gcs/library/zuul_google_storage_upload.py b/roles/upload-logs-gcs/library/zuul_google_storage_upload.py index 774a786df..b0c5eef7d 100755 --- a/roles/upload-logs-gcs/library/zuul_google_storage_upload.py +++ b/roles/upload-logs-gcs/library/zuul_google_storage_upload.py @@ -260,6 +260,7 @@ def sizeof_fmt(num, suffix='B'): class Credentials(gce_cred.Credentials): def __init__(self, path): + super().__init__() self._path = path self.refresh(None)