diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-10-25 13:08:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-25 13:08:45 -0700 |
commit | f6e7807fa5970f328c1221c2e0c0aafe5f1c4b34 (patch) | |
tree | 91e518a3653694f50ae4b9a9f3b3423b2ff968e6 /cmd/podman/shared/container.go | |
parent | 3efa0685289a44ab21015897253565b9c50c1777 (diff) | |
parent | 3e5a5c68da9884ddb46cb9e84435956996347a4b (diff) | |
download | podman-f6e7807fa5970f328c1221c2e0c0aafe5f1c4b34.tar.gz podman-f6e7807fa5970f328c1221c2e0c0aafe5f1c4b34.tar.bz2 podman-f6e7807fa5970f328c1221c2e0c0aafe5f1c4b34.zip |
Merge pull request #1709 from baude/parallelheur
Add --max-workers and heuristics for parallel operations
Diffstat (limited to 'cmd/podman/shared/container.go')
-rw-r--r-- | cmd/podman/shared/container.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/shared/container.go b/cmd/podman/shared/container.go index 4af737e0a..b847314a4 100644 --- a/cmd/podman/shared/container.go +++ b/cmd/podman/shared/container.go @@ -226,10 +226,10 @@ func NewBatchContainer(ctr *libpod.Container, opts PsOptions) (PsContainerOutput return pso, nil } -type pFunc func() (PsContainerOutput, error) +type batchFunc func() (PsContainerOutput, error) type workerInput struct { - parallelFunc pFunc + parallelFunc batchFunc opts PsOptions cid string job int |