Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
johzchen committed Apr 25, 2020
1 parent 804135e commit c37cc75
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apisix/admin/upstreams.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ local get_routes = require("apisix.router").http_routes
local get_services = require("apisix.http.service").services
local tostring = tostring
local ipairs = ipairs
local tonumber = tonumber
local type = type


Expand Down Expand Up @@ -99,7 +98,7 @@ local function check_conf(id, conf, need_id)
if need_id and conf.id and tostring(conf.id) ~= tostring(id) then
return nil, {error_msg = "wrong upstream id"}
end

core.log.info("schema: ", core.json.delay_encode(core.schema.upstream))
core.log.info("conf : ", core.json.delay_encode(conf))

Expand Down

0 comments on commit c37cc75

Please sign in to comment.