automation-tests/cmd/podman/pods
Tobias Klauser 70bd096e47
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
554799639f/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 <tklauser@distanz.ch>
2023-04-21 14:28:56 +02:00
..
clone.go implement podman update 2022-09-01 13:02:01 -04:00
create.go cmd/podman/pods: omit superfluous runtime.NumCPU call 2023-04-21 14:28:56 +02:00
exists.go bump go module to version 4 2022-01-18 12:47:07 +01:00
inspect.go fix podman pod inspect to support multiple pods 2022-09-08 10:28:42 +02:00
kill.go Combine the CheckAllLatest CID and PodID functions 2022-05-26 11:12:40 -04:00
logs.go `podman pod logs -l` no longer panics 2022-09-29 08:56:02 -04:00
pause.go Combine the CheckAllLatest CID and PodID functions 2022-05-26 11:12:40 -04:00
pod.go bump go module to version 4 2022-01-18 12:47:07 +01:00
prune.go bump go module to version 4 2022-01-18 12:47:07 +01:00
ps.go Unify --noheading and -n to be consistent on all commands 2022-12-19 13:18:43 -05:00
restart.go Combine the CheckAllLatest CID and PodID functions 2022-05-26 11:12:40 -04:00
rm.go remove container/pod id file along with container/pod 2022-11-03 17:07:09 +01:00
start.go Combine the CheckAllLatest CID and PodID functions 2022-05-26 11:12:40 -04:00
stats.go shell completion --format: use structs by reference 2022-04-28 18:12:17 +02:00
stop.go Combine the CheckAllLatest CID and PodID functions 2022-05-26 11:12:40 -04:00
top.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
unpause.go Fix podman pod unpaue TODO 2022-07-05 10:32:49 -04:00