membphis commented on code in PR #12243:
URL: https://github.com/apache/apisix/pull/12243#discussion_r2125390915


##########
apisix/plugins/loki-logger.lua:
##########
@@ -138,11 +147,12 @@ end
 
 
 local function send_http_data(conf, log)
+    local headers = conf.headers or {}

Review Comment:
   ```suggestion
       local headers = conf.headers or {}
       headers = core.table.clone(headers)  -- avoid changing the original 
table `conf`
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to