zhendongcmss commented on PR #6934: URL: https://github.com/apache/apisix/pull/6934#issuecomment-1110603735
> I'm curious about the trigger condition because priority is set as a default in the JSON schema. see: > > https://github.com/apache/apisix/blob/e56d23950ff18f7656a605ad80b5c9a2576d3c01/apisix/schema_def.lua#L331-L335 I know that. But, Somtimes, we develop a new plugin on access phase and use `upstream.set(ctx, "xxxx", "xxx", up_conf)` to rewrite the upstreams, if the `up_conf` doesn't include the priority(want to use the default priority) will get a error. -- 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]
