From 3ee0160bd7a58d910d5009867644b57386257e8c Mon Sep 17 00:00:00 2001 From: Brian Pitts Date: Wed, 24 Oct 2018 15:42:30 -0400 Subject: [PATCH] Fix name of setting for gcs bucket It should be GS_BUCKET_NAME according to the documentation at https://django-storages.readthedocs.io/en/latest/backends/gcloud.html --- docs/ops/config.rst | 4 ++-- normandy/settings.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ops/config.rst b/docs/ops/config.rst index e5a2156d4..f514e78c9 100644 --- a/docs/ops/config.rst +++ b/docs/ops/config.rst @@ -343,7 +343,7 @@ in other Django projects. ``DJANGO_AWS_SECRET_ACCESS_KEY`` may also be needed. When using GCP, it is required to also set - ``DJANGO_GCS_STORAGE_BUCKET_NAME``. + ``DJANGO_GS_BUCKET_NAME``. .. envvar:: DJANGO_AWS_ACCESS_KEY_ID @@ -362,7 +362,7 @@ in other Django projects. The name of the S3 bucket to be used to store media files. -.. envvar:: DJANGO_GCP_STORAGE_BUCKET_NAME +.. envvar:: DJANGO_GS_BUCKET_NAME The name of the Google storage bucket to be used to store media files. diff --git a/normandy/settings.py b/normandy/settings.py index 7c3037ea8..bc96ac0be 100644 --- a/normandy/settings.py +++ b/normandy/settings.py @@ -365,7 +365,7 @@ def RAVEN_CONFIG(self): AWS_ACCESS_KEY_ID = values.Value() AWS_SECRET_ACCESS_KEY = values.Value() AWS_STORAGE_BUCKET_NAME = values.Value() - GCS_STORAGE_BUCKET_NAME = values.Value() + GS_BUCKET_NAME = values.Value() GITHUB_URL = values.Value("https://github.com/mozilla/normandy")