Skip to content

Commit

Permalink
de-capitalize error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Jul 1, 2016
1 parent bab29a1 commit 4c3ced5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions kong/cmd/utils/nginx_signals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ local function is_openresty(bin_path)
log.debug("%s: '%s'", cmd, stderr:sub(1, -2))
local version_match = stderr:match(nginx_version_pattern)
if (not version_match) or (not nginx_compatible:matches(version_match)) then
return nil, "Incompatible nginx found. Kong requires OpenResty, version "..tostring(nginx_compatible) ..
return nil, "incompatible nginx found. Kong requires OpenResty, version "..tostring(nginx_compatible) ..
(version_match and ", got "..version_match or "")
end
return true
end
return nil, "Could not determine nginx version in use. Kong requires OpenResty version "..tostring(nginx_compatible)
return nil, "could not determine nginx version in use. Kong requires OpenResty version "..tostring(nginx_compatible)
end

local function send_signal(pid_path, signal)
Expand Down
2 changes: 1 addition & 1 deletion kong/cmd/utils/serf_signals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ local function check_serf_bin()
if ok and stdout then
local version_match = stdout:match(serf_version_pattern)
if (not version_match) or (not serf_compatible:matches(version_match)) then
return nil, "Incompatible Serf version. Kong requires version "..tostring(serf_compatible)..
return nil, "incompatible Serf version. Kong requires version "..tostring(serf_compatible)..
(version_match and ", got "..tostring(version_match) or "")
end
return true
Expand Down

0 comments on commit 4c3ced5

Please sign in to comment.