Skip to content

Commit

Permalink
fix(cli) correct error message on missing Serf
Browse files Browse the repository at this point in the history
Generating the error message concatenated a table by omitting
a `tostring()` call.

Fix Kong#2217
  • Loading branch information
Tieske authored and thibaultcha committed Mar 21, 2017
1 parent 92b00bd commit 3b7e02e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kong/cmd/utils/serf_signals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ local function check_serf_bin(kong_config)

if not found then
return nil, "could not find 'serf' executable. Kong requires version " ..
serf_compatible .. " (you can tweak 'serf_path' to your needs)"
tostring(serf_compatible) ..
" (you can tweak 'serf_path' to your needs)"
end

return found
Expand Down

0 comments on commit 3b7e02e

Please sign in to comment.