-
Notifications
You must be signed in to change notification settings - Fork 188
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
make sure literal host ports are processed correctly #837
Conversation
@tpetr this should be gtg, thoughts on merging? |
for (long port : requestedPorts) { | ||
if (rangeStartSelection >= port && rangeEndSelection <= port) { | ||
toRemove.add(port); | ||
portsSoFar --; |
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'd remove the space here for clarity
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.
sry, missed this comment before, fixed
@tpetr added the JsonIgnore, this should be good now |
LGTM |
make sure literal host ports are processed correctly
A few things to fix ports/params with docker:
LITERAL
mapping also gets added to the mesos Resources when building the taskdoesOfferMatchResources
that any requested literal host ports are present in the offerparams
make it onto the mesos task definition and add a MesosUtilsTest assertion for this and the literal ports/fyi @chrisbrewer @wsorenson