diff --git a/apicast/src/policy_chain.lua b/apicast/src/policy_chain.lua index 3a4802fde..1d80a572b 100644 --- a/apicast/src/policy_chain.lua +++ b/apicast/src/policy_chain.lua @@ -69,10 +69,6 @@ function _M.new(list) local self = setmetatable(chain, mt) chain.config = self:export() - return self:freeze() -end - -function _M:freeze() self.frozen = true return self end