Skip to content

Commit

Permalink
Add self.checks.active._headers_str tmp str
Browse files Browse the repository at this point in the history
  • Loading branch information
mayocream committed Jan 24, 2022
1 parent e4aa6b8 commit d1347f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resty/healthcheck.lua
Original file line number Diff line number Diff line change
Expand Up @@ -987,8 +987,8 @@ function checker:run_single_check(ip, port, hostname, hostheader)
if #headers > 0 then
headers = headers .. "\r\n"
end
self.checks.active._headers_str = headers
end
self.checks.active._headers_str = headers or ""
end

local path = self.checks.active.http_path
Expand Down

0 comments on commit d1347f5

Please sign in to comment.