From a43d674d4681035b1a7ab206c03db325e314c214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=96=E6=B3=89=E8=B4=BA?= Date: Mon, 28 Dec 2020 15:59:25 +0800 Subject: [PATCH] Compatible with kong 2.2.0 --- kong/plugins/apig-response-transform/schema.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/kong/plugins/apig-response-transform/schema.lua b/kong/plugins/apig-response-transform/schema.lua index 85f9e7e..ffbd58e 100644 --- a/kong/plugins/apig-response-transform/schema.lua +++ b/kong/plugins/apig-response-transform/schema.lua @@ -6,13 +6,6 @@ return { -- this plugin will only be applied to Services or Routes consumer = typedefs.no_consumer }, - { - -- this plugin will only be executed on the first Kong node - -- if a request comes from a service mesh (when acting as - -- a non-service mesh gateway, the nodes are always considered - -- to be "first". - run_on = typedefs.run_on_first - }, { -- this plugin will only run within Nginx HTTP module protocols = typedefs.protocols_http