From 3c9479fdd6009a945506d0fd415043844df9b2e3 Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Wed, 9 Oct 2024 14:59:25 -0400 Subject: [PATCH] Fix semgrep 'ci.semgrep.migrate.error-check-service-id'. --- .../amp/default_scraper_configuration_data_source_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/amp/default_scraper_configuration_data_source_test.go b/internal/service/amp/default_scraper_configuration_data_source_test.go index 6d3aab64e71..b09dc235ceb 100644 --- a/internal/service/amp/default_scraper_configuration_data_source_test.go +++ b/internal/service/amp/default_scraper_configuration_data_source_test.go @@ -20,7 +20,7 @@ func TestAccAMPDefaultScraperConfigurationDataSource_basic(t *testing.T) { acctest.PreCheck(ctx, t) acctest.PreCheckPartitionHasService(t, names.AMPEndpointID) }, - ErrorCheck: acctest.ErrorCheck(t, names.AMPEndpointID), + ErrorCheck: acctest.ErrorCheck(t, names.AMPServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, Steps: []resource.TestStep{ {