Copilot commented on code in PR #13276:
URL: https://github.com/apache/apisix/pull/13276#discussion_r3122018259


##########
docs/en/latest/plugins/opentelemetry.md:
##########
@@ -300,7 +300,7 @@ The following example demonstrates how to configure the 
`opentelemetry` Plugin t
 Configure the plugin metadata to set `set_ngx_var` as true:
 
 ```shell
-curl http://127.0.0.1:9180/apisix/admin/plugin_metadata/opentelemetry -H 
"X-API-KEY: $admin_key" -X PUT -d '
+curl http://127.0.0.1:9180/apisix/admin/plugin_metadata/opentelemetry -H 
"X-API-KEY: ${admin_key}" -X PUT -d '
 {

Review Comment:
   The PR description says curl commands were updated from `$admin_key` to 
`${admin_key}` in the EN docs, but this file still has an earlier curl example 
using `$admin_key` (see line 55). This leaves inconsistent syntax within the 
same doc and suggests the change is incomplete; either update the earlier 
command too or adjust the PR description scope.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to