Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/podman/pods: omit superfluous runtime.NumCPU call
sysinfo.NumCPU already falls back to runtime.NumCPU in case the platform-specific sysinfo.numCPU returns 0, see https://github.com/containers/common/blob/554799639fc82afeddb9e39ec27a7b85382a6db3/pkg/sysinfo/numcpu.go#L8-L13 Also omit a second call to sysinfo.NumCPU and use the result from the earlier call. [NO NEW TESTS NEEDED] Signed-off-by: Tobias Klauser <[email protected]>
- Loading branch information