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

Fixes incorrect 'PublicIp a.b.c.d is not valid' in log when multiple gateways are present #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nakomis
Copy link
Contributor

@nakomis nakomis commented Jun 8, 2015

No description provided.

@@ -549,37 +549,17 @@ private boolean includesPublicIp(final String publicIp, List<SubnetParticipation
return false;
}

private void checkPublicIps(Iterable<String> publicIps, List<SubnetParticipationType> subnetParticipations) {
private boolean checkPublicIps(Iterable<String> publicIps, List<SubnetParticipationType> subnetParticipations) {
Copy link
Member

Choose a reason for hiding this comment

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

The naming convention of checkPublicIps follows the guava contention. The semantics elsewhere are that it will throw an exception if the check fails, rather than returning a boolean.

@bostko
Copy link
Contributor

bostko commented May 22, 2017

@nakomis could you update the PR?

@tbouron tbouron force-pushed the master branch 7 times, most recently from 978d4df to a7320d1 Compare March 14, 2024 12:10
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.

3 participants