From e3da80755c0861301e6461593e24e82ac7f115ec Mon Sep 17 00:00:00 2001 From: pablohashescobar <118773738+pablohashescobar@users.noreply.github.com> Date: Mon, 5 Jun 2023 12:52:25 +0530 Subject: [PATCH] fix: minio settings (#1172) --- apiserver/plane/settings/local.py | 2 +- apiserver/plane/settings/production.py | 2 +- apiserver/plane/settings/staging.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apiserver/plane/settings/local.py b/apiserver/plane/settings/local.py index 324d2edbe..20b257a27 100644 --- a/apiserver/plane/settings/local.py +++ b/apiserver/plane/settings/local.py @@ -29,7 +29,7 @@ DOCKERIZED = int(os.environ.get( "DOCKERIZED", 0 )) == 1 -USE_MINIO = int(os.environ.get("USE_MINIO"), 0) == 1 +USE_MINIO = int(os.environ.get("USE_MINIO", 0)) == 1 FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) diff --git a/apiserver/plane/settings/production.py b/apiserver/plane/settings/production.py index 90909cf08..f0151cbbe 100644 --- a/apiserver/plane/settings/production.py +++ b/apiserver/plane/settings/production.py @@ -32,7 +32,7 @@ SITE_ID = 1 # Set the variable true if running in docker environment DOCKERIZED = int(os.environ.get("DOCKERIZED", 0)) == 1 -USE_MINIO = int(os.environ.get("USE_MINIO"), 0) == 1 +USE_MINIO = int(os.environ.get("USE_MINIO", 0)) == 1 FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) diff --git a/apiserver/plane/settings/staging.py b/apiserver/plane/settings/staging.py index c5db5d300..c6ffcaf22 100644 --- a/apiserver/plane/settings/staging.py +++ b/apiserver/plane/settings/staging.py @@ -54,7 +54,7 @@ DOCKERIZED = int(os.environ.get( "DOCKERIZED", 0 )) == 1 FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) -USE_MINIO = int(os.environ.get("USE_MINIO"), 0) == 1 +USE_MINIO = int(os.environ.get("USE_MINIO", 0)) == 1 sentry_sdk.init( dsn=os.environ.get("SENTRY_DSN"),