-
Notifications
You must be signed in to change notification settings - Fork 298
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
Table app args refactoring #293
Conversation
function Intel82599:new (args) | ||
args = config.parse_app_arg(args) | ||
function Intel82599:new (arg) | ||
conf = config.parse_app_arg(arg) |
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.
This should be local conf
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.
Oh, yes. Good catch! Will have to see if I repeated that mistake.
Great hacking! This looks like a solid, bold improvement :-) |
fcb868b
to
0ed39b6
Compare
function Intel82599:new (args) | ||
args = config.parse_app_arg(args) | ||
function Intel82599:new (arg) | ||
local conf = config.parse_app_arg(arg) |
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.
Prepend local
.
0ed39b6
to
cf6089c
Compare
Good time to rebase and merge? |
a0f408a
to
6514ce3
Compare
and use table literals instead.
(It's done in `parse_app_arg'.)
Sure why not! :) |
…app args refactoring'.
[keyed_ipv6_tunnel] Fix regression introduced by #293 URGENT
Clear out Flags in ICMPv4 echo-reply
This PR does three things:
core.config.parse_app_arg
a NOOP for tables.parse_app_arg
everywhereloadstring
was previously used (also use uniform terminology for app arg handling: An app receives anarg
, parses it usingparse_app_arg
which yields aconf
.)([[{...}]]):format(...)
constructs with table literals across the codebase.Sorry for the big sweep, I felt it was a good point to clean up and unify the code. This might trigger a lot of merge conflicts, so merge this late then I can sort them out myself.