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

Cast port number as string #11

Merged
merged 1 commit into from
May 2, 2019
Merged

Cast port number as string #11

merged 1 commit into from
May 2, 2019

Conversation

flands
Copy link
Contributor

@flands flands commented Mar 16, 2019

Addresses #10

When using RDS secrets the port number is not a string. As a result, the
unmarshal fails. Catch this scenario and add the port as a string.

Also add a Makefile target to install required tools to build locally.

Addresses mumoshu#10

When using RDS secrets the port number is not a string. As a result, the
unmarshal fails. Catch this scenario and add the port as a string.
install-tools:
go get github.com/aws/aws-sdk-go/aws/session
go get github.com/aws/aws-sdk-go/service/secretsmanager
go get github.com/pkg/errors
Copy link
Owner

Choose a reason for hiding this comment

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

I'm now wondering why dep didn't catch these dependencies 🤔

Copy link
Owner

@mumoshu mumoshu left a comment

Choose a reason for hiding this comment

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

Great finding, and thanks for the fix 👍

@mumoshu mumoshu merged commit 27a4856 into mumoshu:master May 2, 2019
@flands flands deleted the port branch May 2, 2019 20:45
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.

None yet

2 participants