Commit 7b740b4
authored
fix: preserve cli timeout (#91)
Prevent using the API calls context in the wait commands,
as it includes a 30s timeout, which is honored even though
we're creating a child context with a 30m timeout later.
Rely on the cmd.Context() instead, so we preserve timeout behavior we want,
either 30m by default, or the one specified via flags to the cli.1 parent a6dcd9c commit 7b740b4
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
| 406 | + | |
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| |||
1252 | 1252 | | |
1253 | 1253 | | |
1254 | 1254 | | |
1255 | | - | |
| 1255 | + | |
1256 | 1256 | | |
1257 | 1257 | | |
1258 | 1258 | | |
| |||
0 commit comments