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

Fix the portDefinition transform util #777

Merged
merged 1 commit into from
Sep 20, 2016

Conversation

orlandohohmeier
Copy link
Contributor

Adjust the portDefinition transform util to handle undefined port definitions; this fixes an issue wich prevented users from editing app configurations if portMappings.containerPort is undefined.

/closes mesosphere/marathon#4340

Adjust the portDefinition transform util to handle undefined port
definitions; this fixes an issue wich prevented users from editing app
configurations if `portMappings.containerPort` is undefined.

Closes mesosphere/marathon#4340
Copy link
Contributor

@philipnrmn philipnrmn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, works for me.

if (portDefinitionRows == null) {
return [];
}

return portDefinitionRows.map((row, i) => {
row[portField] = row[portField];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder what we were doing here 🤔

@philipnrmn philipnrmn merged commit 535c079 into master Sep 20, 2016
@philipnrmn philipnrmn deleted the fix/4340-edit-configuration-issue branch September 20, 2016 19:28
@UnclaimedPants
Copy link

Will this be merged into into v1.1.3 ? Or any of the branches?

@blbradley
Copy link

@UnclaimedPants I'm not experiencing this in v1.1.3 on Debian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants