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 bug where fallback to aws node fails #563

Merged
merged 1 commit into from Jun 26, 2020
Merged

Conversation

yorinasub17
Copy link
Contributor

Fixes #559

The fallback was failing because the public IP map did contain an entry for the instance, but it was the blank string. This fixes the bug by explicitly checking for empty string.

Copy link
Member

@brikis98 brikis98 left a comment

Choose a reason for hiding this comment

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

Thanks Yori!

@@ -25,6 +25,7 @@ require (
github.com/gruntwork-io/gruntwork-cli v0.5.1
github.com/imdario/mergo v0.3.7 // indirect
github.com/jstemmer/go-junit-report v0.9.1
github.com/magiconair/properties v1.8.0
Copy link
Member

Choose a reason for hiding this comment

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

Is this part of this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea. I ran go mod tidy and it showed up, indicating that we forgot to add this in in some other PR.

@yorinasub17
Copy link
Contributor Author

Thanks for review! Going to merge and release this now.

@yorinasub17 yorinasub17 merged commit 235646c into master Jun 26, 2020
@yorinasub17 yorinasub17 deleted the yori-fix-getservice branch June 26, 2020 05:24
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.

k8s.GetServiceEndpoint returns only port
2 participants