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