Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix(dao) make 'run_migrations()' only return strings #1605

Closed
wants to merge 2 commits into from

Conversation

thibaultcha
Copy link
Member

This resolves the error raising:

Error: /usr/local/share/lua/5.1/kong/cmd/start.lua:17: bad argument #2 to 'assert' (string expected, got table)

Which would occur when the connection to the datastore could not be opened from the CLI (migrations step).

@Tieske Tieske added pr/ready (but hold merge) No more concerns, but do not merge yet (probably a conflict of interest with another PR or release) and removed pr/status/needs review labels Sep 8, 2016
@Tieske
Copy link
Member

Tieske commented Sep 8, 2016

lgtm

… error (result is always nil in case of an error)
@Tieske
Copy link
Member

Tieske commented Sep 8, 2016

after checking out failed tests, updated the fix.

@Tieske Tieske added pr/status/needs review and removed pr/ready (but hold merge) No more concerns, but do not merge yet (probably a conflict of interest with another PR or release) labels Sep 8, 2016
@Tieske
Copy link
Member

Tieske commented Sep 8, 2016

?? there are 2 commits in this PR, your initial one that failed, my fix on top of yours...

What did I miss?

@thibaultcha
Copy link
Member Author

Maybe me thinking I pushed the updated patch but actually didn't 😇

On Sep 8, 2016, at 9:20 AM, Thijs Schreijer notifications@github.com wrote:

?? there are 2 commits in this PR, your initial one that failed, my fix on top of yours...

What did I miss?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@thibaultcha
Copy link
Member Author

(Yay tests!)

@thibaultcha thibaultcha added pr/ready (but hold merge) No more concerns, but do not merge yet (probably a conflict of interest with another PR or release) and removed pr/status/needs review labels Sep 8, 2016
@thibaultcha
Copy link
Member Author

Manually sqashed to keep the proper fix and merged to both next and master as a hotfix.

@thibaultcha thibaultcha closed this Sep 8, 2016
@thibaultcha thibaultcha deleted the hotfix/dao-migrations-errors branch September 8, 2016 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/ready (but hold merge) No more concerns, but do not merge yet (probably a conflict of interest with another PR or release)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants