Mark Johnston
602ba415c6
libpod: Implement getOnlineCPUs() on FreeBSD
...
Include an explicit container state check. Otherwise the
containers/stats endpoint will return all-zero stats for a stopped
container even when in non-streaming mode, which breaks some consumers
of the API, particularly nomad's podman driver.
Implement the interface by just returning the number of host CPUs. A
bit more sophisticated would be to fetch the jail's cpuset, but it's not
very important for now.
Signed-off-by: Mark Johnston <mark.johnston@klarasystems.com>
2025-09-18 14:24:35 +00:00
..
2025-09-10 16:17:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2024-01-04 11:53:38 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2024-11-27 08:09:50 -05:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-01 12:33:04 +02:00
2024-11-27 08:09:50 -05:00
2024-11-27 08:09:50 -05:00
2025-09-10 16:17:04 +02:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2025-02-17 14:32:34 -05:00
2024-09-02 11:21:35 +01:00
2025-09-01 12:33:04 +02:00
2025-09-10 16:17:05 +02:00
2025-09-10 16:17:04 +02:00
2025-09-02 16:17:18 +00:00
2025-04-07 18:11:06 +02:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-10 16:17:04 +02:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-11-01 18:53:08 +01:00
2024-01-04 11:53:38 +02:00
2024-11-27 08:09:50 -05:00
2024-11-27 08:09:50 -05:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2025-09-02 16:17:18 +00:00
2024-06-27 10:50:17 +02:00
2025-09-10 16:17:04 +02:00
2024-01-04 11:53:38 +02:00
2025-09-01 12:33:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-01 12:33:04 +02:00
2025-03-12 21:27:00 +01:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2024-06-04 18:03:46 +02:00
2024-06-04 18:03:46 +02:00
2025-05-12 17:01:35 +02:00
2024-02-08 09:35:39 -05:00
2025-09-01 12:33:04 +02:00
2024-02-08 09:35:39 -05:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2024-01-04 11:53:38 +02:00
2025-09-10 16:17:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2025-09-10 16:17:04 +02:00
2025-09-01 12:33:04 +02:00
2024-02-02 11:02:43 -05:00
2025-09-01 12:33:04 +02:00
2024-06-21 18:01:26 +02:00
2025-09-10 16:17:05 +02:00
2024-01-04 11:53:38 +02:00
2025-09-01 12:33:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-10 16:17:05 +02:00
2025-09-01 12:33:04 +02:00
2024-01-04 11:53:38 +02:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-01 12:33:04 +02:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2025-09-01 12:33:04 +02:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2025-09-10 16:17:04 +02:00
2024-04-05 10:07:42 -04:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2025-02-11 15:13:29 +00:00
2025-02-11 15:13:29 +00:00
2025-02-11 15:13:29 +00:00
2025-02-11 15:13:29 +00:00
2025-05-13 17:20:10 +02:00
2024-01-04 11:53:38 +02:00
2025-09-01 12:33:04 +02:00
2025-09-10 16:17:04 +02:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-01-04 11:53:38 +02:00
2025-09-01 12:33:04 +02:00
2024-08-15 11:07:27 +02:00
2024-07-09 11:15:29 +02:00
2025-09-01 12:33:04 +02:00
2024-02-08 09:35:39 -05:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2024-02-08 09:35:39 -05:00
2025-09-18 14:24:35 +00:00
2025-09-01 12:33:04 +02:00
2025-09-01 12:33:04 +02:00
2025-04-02 13:35:14 -07:00
2025-03-24 17:44:43 +01:00
2025-09-01 12:33:04 +02:00
2025-05-20 15:52:27 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2024-02-08 09:35:39 -05:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2024-05-22 17:47:01 -04:00
2025-09-10 16:17:04 +02:00