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

have dedicated config sections for aws and gcp #1

Merged
merged 1 commit into from
Apr 22, 2020
Merged

Conversation

honnix
Copy link
Owner

@honnix honnix commented Apr 15, 2020

No description provided.

if config.AWSConfig.Region != "" {
snsConfig.Region = config.AWSConfig.Region
} else {
snsConfig.Region = config.Region
Copy link

Choose a reason for hiding this comment

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

aah this is for backwards compatibility? Can we put a deprecated on this flag? so that we can remove it eventually

Copy link
Owner Author

Choose a reason for hiding this comment

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

I put a deprecated comment on https://github.com/honnix/flyteadmin/pull/1/files#diff-2cd697d44b48c0070c8e0756ed47b382R141, according to https://blog.golang.org/godoc. Is there a better way for deprecation in go?

@kumare3
Copy link

kumare3 commented Apr 22, 2020

Thank you for doing this, This looks good to me. Once you merge this I can approve :)

@honnix
Copy link
Owner Author

honnix commented Apr 22, 2020

@kumare3 I will merge it to the upstream PR.

@honnix honnix merged commit c9ecc93 into gcp-pubsub Apr 22, 2020
@honnix honnix deleted the aws-gcp-config branch April 22, 2020 10:01
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.

2 participants