From 701c4271d27897a5753d12a951a957c098e2c5cf Mon Sep 17 00:00:00 2001 From: Callum Moore Date: Fri, 22 Mar 2024 14:01:12 +1100 Subject: [PATCH] Fix response log template, and request/response error log template variables --- bigip/resource_bigip_ltm_profile_request_log.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bigip/resource_bigip_ltm_profile_request_log.go b/bigip/resource_bigip_ltm_profile_request_log.go index 016ae3d59..17427a7ca 100644 --- a/bigip/resource_bigip_ltm_profile_request_log.go +++ b/bigip/resource_bigip_ltm_profile_request_log.go @@ -262,13 +262,13 @@ func resourceBigipLtmProfileRequestLogRead(ctx context.Context, d *schema.Resour _ = d.Set("response_logging", pp.RequestLogging) } if _, ok := d.GetOk("responselog_template"); ok { - _ = d.Set("responselog_template", pp.RequestLogTemplate) + _ = d.Set("responselog_template", pp.ResponseLogTemplate) } if _, ok := d.GetOk("requestlog_error_template"); ok { - _ = d.Set("requestlog_error_template", pp.RequestLogTemplate) + _ = d.Set("requestlog_error_template", pp.RequestLogErrorTemplate) } if _, ok := d.GetOk("responselog_error_template"); ok { - _ = d.Set("responselog_error_template", pp.RequestLogTemplate) + _ = d.Set("responselog_error_template", pp.ResponseLogErrorTemplate) } // if _, ok := d.GetOk("request_chunking"); ok { // _ = d.Set("request_chunking", pp.RequestChunking)