Skip to content

Commit

Permalink
fix(cli) remove invalid arg to DAOFactory.new
Browse files Browse the repository at this point in the history
Remove old plugins parameter from the DAOFactory instantiation
in the migrations command.

From Kong#2238
  • Loading branch information
grantcarver authored and thibaultcha committed Mar 24, 2017
1 parent 32e4d16 commit 6a420ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/cmd/migrations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ end

local function execute(args)
local conf = assert(conf_loader(args.conf))
local dao = assert(DAOFactory.new(conf, conf.plugins))
local dao = assert(DAOFactory.new(conf))

if args.command == "up" then
assert(dao:run_migrations())
Expand Down

0 comments on commit 6a420ec

Please sign in to comment.