Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
locao committed Jun 21, 2024
1 parent 490f3e9 commit ea82ca6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/01-unit/21-dns-client/03-client_cache_spec.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local cycle_aware_deep_copy = require("kong.tools.table").cycle_aware_deep_copy
local utils = require("kong.tools.utils")

local gettime, sleep
if ngx then
Expand Down Expand Up @@ -189,7 +189,7 @@ describe("[DNS client cache]", function()
ttl = 0.1,
}}
}
local mock_copy = cycle_aware_deep_copy(mock_records)
local mock_copy = utils.cycle_aware_deep_copy(mock_records)

-- resolve and check whether we got the mocked record
local result = client.resolve("myhost6")
Expand Down

0 comments on commit ea82ca6

Please sign in to comment.