From 20520135ff070145be3d0d272f9f5c79b0a73048 Mon Sep 17 00:00:00 2001 From: Francesco Vigliaturo Date: Fri, 13 Sep 2024 09:09:50 +0200 Subject: [PATCH] fix loader name --- snuba/migrations/group_loader.py | 2 +- snuba/migrations/groups.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/snuba/migrations/group_loader.py b/snuba/migrations/group_loader.py index d22fc03c44..badf744894 100644 --- a/snuba/migrations/group_loader.py +++ b/snuba/migrations/group_loader.py @@ -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") diff --git a/snuba/migrations/groups.py b/snuba/migrations/groups.py index d75617e5e4..e4a33186b0 100644 --- a/snuba/migrations/groups.py +++ b/snuba/migrations/groups.py @@ -7,8 +7,8 @@ DiscoverLoader, EventsAnalyticsPlatformLoader, EventsLoader, + FunctionsExamplesLoader, FunctionsLoader, - FunctionsSummariesLoader, GenericMetricsLoader, GroupAttributesLoader, GroupLoader, @@ -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, ),