From 2fb258315ad6eefd4b4a7e5d2d7da22705f0d8d3 Mon Sep 17 00:00:00 2001 From: zl0ty Date: Thu, 21 Nov 2024 13:15:35 +0100 Subject: [PATCH] fix application data --- cloudconnexa/data_source_application.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/cloudconnexa/data_source_application.go b/cloudconnexa/data_source_application.go index 3f4060a..022f461 100644 --- a/cloudconnexa/data_source_application.go +++ b/cloudconnexa/data_source_application.go @@ -96,9 +96,6 @@ func dataSourceApplicationRead(ctx context.Context, data *schema.ResourceData, i } else { return append(diags, diag.Errorf("Application name or id is missing")...) } - // setApplicationData(data, application) - data.SetId(application.Id) - data.Set("name", application.Name) - return diags - // return nil + setApplicationData(data, application) + return nil }