You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/02/02 08:15:28 UTC
[GitHub] [apisix] suslovsergey commented on issue #6085: request help: Update route with full filled object
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org