Skip to content

Commit fefb40e

Browse files
authored
Merge branch 'revsys:master' into celery-worker-name
2 parents c4d03f3 + b0e2c4c commit fefb40e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

health_check/storage/backends.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import uuid
22

33
import django
4-
from django.conf import settings
54
from django.core.files.base import ContentFile
5+
from django.core.files.storage import default_storage
66

77
if django.VERSION >= (4, 2):
88
from django.core.files.storage import InvalidStorageError, storages
@@ -81,4 +81,4 @@ def check_status(self):
8181

8282
class DefaultFileStorageHealthCheck(StorageHealthCheck):
8383
storage_alias = "default"
84-
storage = settings.DEFAULT_FILE_STORAGE
84+
storage = default_storage

0 commit comments

Comments
 (0)