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 divergence from registrator behavior: multiple EXPOSE'd ports, one mapped port #11

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

vierbergenlars
Copy link
Member

Fixes #10

@@ -113,6 +114,82 @@ void multipleServices_withDefaults() {
);
}

@Test
void multipleServices_withOneServiceName() {
// $ docker run -d --name nginx.0 -p 4443:443 -p 8000:80 progrium/nginx
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you update this command to match what with the code below ?


@Test
void multipleServices_oneExposed_withOneServiceName() {
// $ docker run -d --name nginx.0 --expose 443 -p 8000:80 progrium/nginx
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here

@sonarcloud
Copy link

sonarcloud bot commented Mar 2, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

92.3% 92.3% Coverage
0.0% 0.0% Duplication

@vierbergenlars vierbergenlars merged commit 62f4ee0 into main Mar 2, 2022
@vierbergenlars vierbergenlars deleted the issue-10 branch March 2, 2022 08:47
@vierbergenlars vierbergenlars changed the title Add distinction between exposed ports and actually published ports Fix divergence from registrator behavior: multiple EXPOSE'd ports, one mapped port Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Divergence from registrator behavior: multiple EXPOSE'd ports, one mapped port.
2 participants