-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
parse port ranges #544
parse port ranges #544
Conversation
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
to_port_range, | ||
split_port, | ||
add_port_mapping, | ||
build_port_bindings |
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.
I don't think to_port_range
and add_port_mapping
should be imported here - they're only used within ports.py
, and I can't see them being useful outside it
Looks good, apart from minor API surface area issue (comment inline). |
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
@aanand - thanks for the feedback - fixed |
LGTM, thanks for taking the time to do this! |
Added parsing port range utility.
to assist with:
docker/compose#1102
see:
docker/compose#1191 (comment)
for more details.