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

dynamodb: fix potential panic in tableIsAlive method #580

Merged
merged 2 commits into from
Jun 1, 2018

Conversation

adamstruck
Copy link
Contributor

No description provided.

TableName: aws.String(name),
})
if *r.Table.TableStatus == "ACTIVE" {
return nil
if err == nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we log this error? If it's a permissions error or something, this might wait silently forever.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

True... maybe it should check for a specific error type instead

@buchanae
Copy link
Contributor

buchanae commented Jun 1, 2018

Looks fine to me.

@adamstruck adamstruck merged commit 003abee into ohsu-comp-bio:master Jun 1, 2018
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