From 6f96baacb8a7a24841f904078943f3a5ac504cc9 Mon Sep 17 00:00:00 2001 From: "karoline.karkosch" Date: Mon, 9 Jan 2023 10:16:13 +0100 Subject: [PATCH] Fix bug where changes were detected even though no change happened --- opensearch/resource_saved_objects.go | 1 + 1 file changed, 1 insertion(+) diff --git a/opensearch/resource_saved_objects.go b/opensearch/resource_saved_objects.go index a27bbef..1737f3b 100644 --- a/opensearch/resource_saved_objects.go +++ b/opensearch/resource_saved_objects.go @@ -177,6 +177,7 @@ func resourceSavedObjectRead(ctx context.Context, d *schema.ResourceData, m any) for i := range resp.References { a := make(map[string]any) a["id"] = resp.References[i].ID + a["name"] = resp.References[i].Name a["type"] = resp.References[i].Type refs[i] = a }