Merge pull request #323 from saulshanabrook/patch-1

Increase ls and inspect timeouts
pull/297/head
Tõnis Tiigi 4 years ago committed by GitHub
commit 9ac5b075cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

@ -30,7 +30,7 @@ func runLs(dockerCli command.Cli, in lsOptions) error {
} }
defer release() defer release()
ctx, cancel := context.WithTimeout(ctx, 7*time.Second) ctx, cancel := context.WithTimeout(ctx, 20*time.Second)
defer cancel() defer cancel()
ll, err := txn.List() ll, err := txn.List()

Loading…
Cancel
Save