Skip to content

Commit

Permalink
fix loader name
Browse files Browse the repository at this point in the history
  • Loading branch information
viglia committed Sep 13, 2024
1 parent 2b24639 commit 2052013
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion snuba/migrations/group_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,6 @@ def __init__(self) -> None:
super().__init__("snuba.snuba_migrations.profile_chunks")


class FunctionsSummariesLoader(DirectoryLoader):
class FunctionsExamplesLoader(DirectoryLoader):
def __init__(self) -> None:
super().__init__("snuba.snuba_migrations.functions_examples")
4 changes: 2 additions & 2 deletions snuba/migrations/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
DiscoverLoader,
EventsAnalyticsPlatformLoader,
EventsLoader,
FunctionsExamplesLoader,
FunctionsLoader,
FunctionsSummariesLoader,
GenericMetricsLoader,
GroupAttributesLoader,
GroupLoader,
Expand Down Expand Up @@ -190,7 +190,7 @@ def __init__(
readiness_state=ReadinessState.PARTIAL,
),
MigrationGroup.FUNCTIONS_EXAMPLES: _MigrationGroup(
loader=FunctionsSummariesLoader(),
loader=FunctionsExamplesLoader(),
storage_sets_keys={StorageSetKey.FUNCTIONS_EXAMPLES},
readiness_state=ReadinessState.EXPERIMENTAL,
),
Expand Down

0 comments on commit 2052013

Please sign in to comment.