Current Behavior
In the source code, when judging whether to watch endpoint slices, watch_endpoint_slices_schema is used, as follows:

But what is defined in the schema is watch_endpoint_slices:

When determining whether to watch endpoint slices, you should use conf.watch_endpoint_slices , watch_endpoint_slices_schema is only a local variable in the lua file apisix/discovery/kubernetes/schema.lua . It will not appear in the configuration item schema of discovery kubernetes. The actual variable used in the schema is watch_endpoint_slices .
Expected Behavior
No response
Error Logs
No response
Steps to Reproduce
PR: https://github.com/apache/apisix/pull/10916/files
Environment
APISIX version: 3.9.0 (master branch also has this problem)
Current Behavior
In the source code, when judging whether to watch endpoint slices,

watch_endpoint_slices_schemais used, as follows:But what is defined in the schema is

watch_endpoint_slices:When determining whether to watch endpoint slices, you should use
conf.watch_endpoint_slices,watch_endpoint_slices_schemais only a local variable in the lua fileapisix/discovery/kubernetes/schema.lua. It will not appear in the configuration item schema of discovery kubernetes. The actual variable used in the schema iswatch_endpoint_slices.Expected Behavior
No response
Error Logs
No response
Steps to Reproduce
PR: https://github.com/apache/apisix/pull/10916/files
Environment
APISIX version: 3.9.0 (master branch also has this problem)