-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
refactor(tools): separate yield functions from utils #11747
Conversation
72d61df
to
a200b73
Compare
a200b73
to
4c0f796
Compare
4c0f796
to
89b8639
Compare
kong/tools/utils.lua
Outdated
end | ||
end | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we're planning to split up utils.lua
even further, make this function into a utility function that can be called like:
include_module(_M, "kong.tools.yield")
or similar to prevent code duplication.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea.
Summary
This PR is one of serial refactor PRs, the goal is to clean the huge utils.lua.
Checklist
changelog/unreleased/kong
orskip-changelog
label added on PR if changelog is unnecessary. README.mdFull changelog
Issue reference
Fix #[issue number]