Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/sentry/models/files/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ def get_profiles_storage(config=None) -> Storage:
from sentry import options as options_store

backend = options_store.get("filestore.profiles-backend")
relocation = options_store.get("filestore.profiles-options")
profiles = options_store.get("filestore.profiles-options")

try:
backend = settings.SENTRY_FILESTORE_ALIASES[backend]
except KeyError:
pass

storage = import_string(backend)
return storage(**relocation)
return storage(**profiles)


def clear_cached_files(cache_path):
Expand Down
Loading