Jonathan Gold
76fcb7a06e
resources: aws: ec2: Wait for stop and terminate concurrently
...
In longpollWatch it was no longer sufficient to use only
WaitUntilInstanceStopped as it would block if the instance was
terminated. This patch launches two goroutines in its place, one
waits until the instance stops and the other waits until it
terminates. When either one returns, it cancels their context,
and execution continues.
2018-01-03 21:34:28 -05:00
..
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:34:28 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00