service/ec2: VolumeAvailableWaiter.Wait() doesn't seem to work as expected #1074
Closed
3 tasks done
Labels
bug
This issue is a bug.
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/8177edf8cc72d132c9e510f813ea83a2If
DryRun
is set tofalse
, it fails withWaiter error: waiter comparator expected []string value got []interface {}
Expected behavior
The waiter returns
nil
soon after the volume is in available stateThe text was updated successfully, but these errors were encountered: