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

service/ec2: VolumeAvailableWaiter.Wait() doesn't seem to work as expected #1074

Closed
3 tasks done
shaftoe opened this issue Jan 23, 2021 · 1 comment · Fixed by #1083
Closed
3 tasks done

service/ec2: VolumeAvailableWaiter.Wait() doesn't seem to work as expected #1074

shaftoe opened this issue Jan 23, 2021 · 1 comment · Fixed by #1083
Labels
bug This issue is a bug.

Comments

@shaftoe
Copy link

shaftoe commented Jan 23, 2021

Confirm by changing [ ] to [x] below to ensure that it's a bug:

Describe the bug

The waiter returns a timeout error even if the volume has been in available state for long (>4.5 minutes) in dry run mode, otherwise it errors with waiter comparator expected []string value got []interface {}

Version of AWS SDK for Go?

v1.0.0

Version of Go (go version)?

go version go1.15.7 darwin/amd64

To Reproduce (observed behavior)

To reproduce, go run -> https://gist.github.com/shaftoe/8177edf8cc72d132c9e510f813ea83a2

If DryRun is set to false, it fails with Waiter error: waiter comparator expected []string value got []interface {}

Expected behavior

The waiter returns nil soon after the volume is in available state

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant