suslovsergey commented on issue #6085:
URL: https://github.com/apache/apisix/issues/6085#issuecomment-1027684633
@tokers
Ok, i just patch core.table.patch via hook -
```lua
local apisix = require("apisix")
local core = require("apisix.core")
local old_http_init = apisix.http_init
apisix.http_init = function(...)
local old_core_table_path = core.table.patch
core.table.patch = function(node_value, sub_path, conf)
if sub_path == "__patch_terraform_plugin_apisix__" then
return old_core_table_path(conf, "", conf)
else
return old_core_table_path(node_value, sub_path, conf)
end
end
old_http_init(...)
end
```
Please close issue.
--
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]