diff --git a/elementary/clients/gcs/client.py b/elementary/clients/gcs/client.py index 231c5e68f..1f8505c47 100644 --- a/elementary/clients/gcs/client.py +++ b/elementary/clients/gcs/client.py @@ -41,7 +41,7 @@ def send_report( bucket_website_url = None bucket_report_path = remote_bucket_file_path or report_filename logger.info(f'Uploading to GCS bucket "{self.config.gcs_bucket_name}"') - bucket = self.client.get_bucket(self.config.gcs_bucket_name) + bucket = self.client.bucket(self.config.gcs_bucket_name) blob = bucket.blob(bucket_report_path) blob.upload_from_filename( local_html_file_path,