From c5416bbe8b9d8dead07d191b34744dd55ce990bd Mon Sep 17 00:00:00 2001 From: chronolaw Date: Fri, 10 Nov 2023 16:33:39 +0800 Subject: [PATCH] kong.tools.gzip --- kong/clustering/rpc/serializer.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kong/clustering/rpc/serializer.lua b/kong/clustering/rpc/serializer.lua index 4e28bd3b93fd..487cf76b4baa 100644 --- a/kong/clustering/rpc/serializer.lua +++ b/kong/clustering/rpc/serializer.lua @@ -1,12 +1,12 @@ local cjson = require("cjson.safe") -local utils = require("kong.tools.utils") +local gzip = require("kong.tools.gzip") local assert = assert -local compress = utils.deflate_gzip -local uncompress = utils.inflate_gzip +local compress = gzip.deflate_gzip +local uncompress = gzip.inflate_gzip local cjson_encode = cjson.encode