Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Jan 8, 2024
1 parent 01b9c83 commit bb402c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apisix/core/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ function _M.gethostname()
end


-- Clean up and make sure the tmp folder exists, for code base internal use only
-- Clean up and make sure the tmp folder exists, for code base internal use only
function _M.init_tmp_directory()
local initialized_flag = "tmp_directory_initialized"
-- skip initialize when reload
Expand All @@ -294,7 +294,7 @@ function _M.init_tmp_directory()
local abs_path = tmp_path..file
local ok, err = os_remove(abs_path)
if not ok then
ngx.log(ngx.ERR, err)
log.error("failed to cleanup files in tmp directory, error: ", err)
end
end
end
Expand Down

0 comments on commit bb402c1

Please sign in to comment.