Closed ssttevee closed 6 years ago
Resolves #24
The problem is that ctx.Err() is actually nil before ctx.Done() is closed. So, it was checking for err == nil and then returning a timeout error, in turn killing the instance.
ctx.Err()
nil
ctx.Done()
err == nil
https://golang.org/pkg/context/#Context
Resolves #24
The problem is that
ctx.Err()
is actuallynil
beforectx.Done()
is closed. So, it was checking forerr == nil
and then returning a timeout error, in turn killing the instance.https://golang.org/pkg/context/#Context