From 00c3ad3fc59a6e25917d59a958db01e1d83d822d Mon Sep 17 00:00:00 2001 From: DionJones615 Date: Sat, 11 Jan 2025 21:34:12 -0500 Subject: [PATCH] fix: datasource routeros_interface_bridge_filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes a bug that results in an empty data object every time due to: `[MikrotikResourceDataToTerraformDatasource] the datasource Schema field was lost during development: ▷ 'data' ◁` --- routeros/datasource_interface_bridge_filter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routeros/datasource_interface_bridge_filter.go b/routeros/datasource_interface_bridge_filter.go index 81af8941..7f7e916c 100644 --- a/routeros/datasource_interface_bridge_filter.go +++ b/routeros/datasource_interface_bridge_filter.go @@ -78,5 +78,5 @@ func datasourceInterfaceBridgeFiltersRead(ctx context.Context, d *schema.Resourc return diag.FromErr(err) } - return MikrotikResourceDataToTerraformDatasource(res, "data", s, d) + return MikrotikResourceDataToTerraformDatasource(res, "filters", s, d) }