From 68084ac6f3f0f11c7cda73afcad17f12c1ae93dc Mon Sep 17 00:00:00 2001 From: Christopher Pettinga Date: Mon, 11 Nov 2024 19:28:24 +0000 Subject: [PATCH] Removing S3 endpoint - revert later when we can discriminate between public and caseworker portals. DST-548 --- django_app/healthcheck/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/django_app/healthcheck/views.py b/django_app/healthcheck/views.py index 5401bc25..a03ba6d6 100644 --- a/django_app/healthcheck/views.py +++ b/django_app/healthcheck/views.py @@ -4,7 +4,7 @@ from django.http import HttpRequest, HttpResponse from django.shortcuts import render from django.views.generic import View -from healthcheck.checks import db_check, s3_check +from healthcheck.checks import db_check class HealthCheckView(View): @@ -20,8 +20,8 @@ def get(self, request: HttpRequest, *args: object, **kwargs: object) -> HttpResp start = time.time() is_db_good = db_check() - is_s3_good = s3_check() - all_good = is_db_good and is_s3_good + # is_s3_good = s3_check() + all_good = is_db_good and True end = time.time() time_taken = round(end - start, 3)