5d10c6ec67
- Omit `KernelMemory` and `KernelMemoryTCP` fields in `/info` response if they're not supported, or when using API v1.42 or up. - Re-enable detection of `KernelMemory` (as it's still needed for older API versions) - Remove warning about kernel memory TCP in daemon logs (a warning is still returned by the `/info` endpoint, but we can consider removing that). - Prevent incorrect "Minimum kernel memory limit allowed" error if the value was reset because it's not supported by the host. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
cgroup2_linux.go | ||
numcpu.go | ||
numcpu_linux.go | ||
numcpu_windows.go | ||
README.md | ||
sysinfo.go | ||
sysinfo_linux.go | ||
sysinfo_linux_test.go | ||
sysinfo_other.go | ||
sysinfo_test.go |
SysInfo stores information about which features a kernel supports.