Skip to content

Commit df9b325

Browse files
vigliaandrewshie-sentry
authored andcommitted
ref(profiling): rename filestore profiles options (#89608)
1 parent 259c5f7 commit df9b325

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sentry/models/files/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ def get_profiles_storage(config=None) -> Storage:
112112
from sentry import options as options_store
113113

114114
backend = options_store.get("filestore.profiles-backend")
115-
relocation = options_store.get("filestore.profiles-options")
115+
profiles = options_store.get("filestore.profiles-options")
116116

117117
try:
118118
backend = settings.SENTRY_FILESTORE_ALIASES[backend]
119119
except KeyError:
120120
pass
121121

122122
storage = import_string(backend)
123-
return storage(**relocation)
123+
return storage(**profiles)
124124

125125

126126
def clear_cached_files(cache_path):

0 commit comments

Comments
 (0)