From 077295806471cafb4bdf44800d5b3223f584c532 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 22 Apr 2022 17:06:17 +0200 Subject: [PATCH] use pairs instead of ipairs --- docker/nginx/libs/skynet/tracker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx/libs/skynet/tracker.lua b/docker/nginx/libs/skynet/tracker.lua index 2a89bb4b..37413215 100644 --- a/docker/nginx/libs/skynet/tracker.lua +++ b/docker/nginx/libs/skynet/tracker.lua @@ -39,7 +39,7 @@ function _M.track_upload_timer(premature, skylink, auth_headers, uploader_ip) local headers = { ["Content-Type"] = "application/x-www-form-urlencoded", } - for key, value in ipairs(auth_headers) do + for key, value in pairs(auth_headers) do headers[key] = value end