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

Add support for moving messages to another region #7

Merged
merged 2 commits into from
Aug 29, 2018

Conversation

panga
Copy link
Contributor

@panga panga commented Aug 28, 2018

Copy link
Owner

@scottjbarr scottjbarr left a comment

Choose a reason for hiding this comment

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

Hi @panga

Thanks for the PR, it looks good.

A couple of minor changes requested before I accept the PR.

Cheers,
Scott

main.go Outdated
os.Exit(1)
}
log.Printf("source queue url: %v", *src)
log.Printf("destination queue url: %v", *dest)
Copy link
Owner

Choose a reason for hiding this comment

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

Please remove the output lines.


func getRegionFromQueueURL(url string) string {
return strings.Split(url, ".")[1]
}
Copy link
Owner

Choose a reason for hiding this comment

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

New line at end of file please :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

README.md Outdated
The `AWS_SECRET_ACCESS_KEY`, `AWS_ACCESS_KEY_ID`, and ,`AWS_REGION`
environment variables must be set.

The `AWS_SECRET_ACCESS_KEY` and `AWS_ACCESS_KEY_ID` environment variables must be set, except for EC2 instances with IAM roles.

Copy link
Owner

Choose a reason for hiding this comment

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

Please remove the reference to EC2, and keep line length < 80 chars.

@scottjbarr scottjbarr merged commit ab52f23 into scottjbarr:master Aug 29, 2018
@scottjbarr
Copy link
Owner

Thanks @panga !

@scottjbarr
Copy link
Owner

This has been reverted due to #9

@panga
Copy link
Contributor Author

panga commented Oct 25, 2018

@scottjbarr are you sure? I'm using it in production without any issue.

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