840963657 commented on issue #2687:
URL:
https://github.com/apache/apisix-dashboard/issues/2687#issuecomment-1341978273
1、create route, add vars in route,operator use '!',like this:
{
"uri": "/*",
"name": "test",
"methods": [
"GET"
],
"vars": [
[
"http_test1",
"~=",
"123"
]
],
.......
2、view apisix's error.log file:
2022/12/08 10:57:25 [error] 6804#6804: *2355864 [lua] config_etcd.lua:573:
failed to fetch data from etcd: failed to check item data of [/apisix/routes]
err:failed to validate the 'vars' expression: invalid operator '!', etcd key:
/apisix/routes, context: ngx.timer
--
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]