From aba728487fd3ab151ba081f1b4c1044e8258bd5d Mon Sep 17 00:00:00 2001 From: Vicente Pinto Date: Thu, 5 Sep 2024 10:52:39 +0100 Subject: [PATCH] Remove leftovers (#529) --- stackit/internal/services/postgresflex/instance/resource.go | 2 +- stackit/internal/services/postgresflex/postgresflex_acc_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stackit/internal/services/postgresflex/instance/resource.go b/stackit/internal/services/postgresflex/instance/resource.go index 068929e4..48264b12 100644 --- a/stackit/internal/services/postgresflex/instance/resource.go +++ b/stackit/internal/services/postgresflex/instance/resource.go @@ -496,7 +496,7 @@ func (r *instanceResource) ImportState(ctx context.Context, req resource.ImportS resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("project_id"), idParts[0])...) resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("instance_id"), idParts[1])...) - tflog.Info(ctx, "Postgresql Flex instance state imported") + tflog.Info(ctx, "Postgres Flex instance state imported") } func mapFields(ctx context.Context, resp *postgresflex.InstanceResponse, model *Model, flavor *flavorModel, storage *storageModel) error { diff --git a/stackit/internal/services/postgresflex/postgresflex_acc_test.go b/stackit/internal/services/postgresflex/postgresflex_acc_test.go index 99ebccf1..bf119aaf 100644 --- a/stackit/internal/services/postgresflex/postgresflex_acc_test.go +++ b/stackit/internal/services/postgresflex/postgresflex_acc_test.go @@ -330,7 +330,7 @@ func testAccCheckPostgresFlexDestroy(s *terraform.State) error { instancesToDestroy := []string{} for _, rs := range s.RootModule().Resources { - if rs.Type != "stackit_postgresqlflex_instance" { + if rs.Type != "stackit_postgresflex_instance" { continue } // instance terraform ID: = "[project_id],[instance_id]"