Skip to content

Commit

Permalink
fix(lint) undesired global variable in specs
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Sep 24, 2015
1 parent b7935e3 commit 5d52403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/dao/schemas/apis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ end
-- @param api_t Table representing the API
-- @return default_name Serialized chosen name or nil
local function default_name(api_t)
local default_name, err
local default_name, err, _

default_name = api_t.request_host
if not default_name and api_t.request_path then
Expand Down

0 comments on commit 5d52403

Please sign in to comment.