mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-05 02:57:41 +08:00
Increase inspect timeout from 5 to 20 seconds
Signed-off-by: Saul Shanabrook <s.shanabrook@gmail.com>
This commit is contained in:
parent
14b7936c3b
commit
c00c5a89e5
@ -74,7 +74,7 @@ func runInspect(dockerCli command.Cli, in inspectOptions) error {
|
|||||||
|
|
||||||
ngi := &nginfo{ng: ng}
|
ngi := &nginfo{ng: ng}
|
||||||
|
|
||||||
timeoutCtx, cancel := context.WithTimeout(ctx, 5*time.Second)
|
timeoutCtx, cancel := context.WithTimeout(ctx, 20*time.Second)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
err = loadNodeGroupData(timeoutCtx, dockerCli, ngi)
|
err = loadNodeGroupData(timeoutCtx, dockerCli, ngi)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user