Skip to content

Commit

Permalink
fix concat
Browse files Browse the repository at this point in the history
  • Loading branch information
strangiato committed May 30, 2024
1 parent 8c1b056 commit 557525c
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
status_false = 0
status_unknown = 0
if condition.status == "Unknown" then
status_unknown = status_unknown + 1
elseif condition.status == "False" then
Expand All @@ -36,10 +34,10 @@
if condition.status ~= "True" then
msg = msg .. i .. ": " .. condition.type .. " | " .. condition.status
if condition.reason ~= nil and condition.reason ~= "" then
msg = msg .. " | " condition.reason
msg = msg .. " | " .. condition.reason
end
if condition.message ~= nil and condition.message ~= "" then
msg = msg .. " | " condition.message
msg = msg .. " | " .. condition.message
end
msg = msg .. "\n"
end
Expand Down

0 comments on commit 557525c

Please sign in to comment.