mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add warning to /info if KernelMemoryTCP is not supported
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
d3e75e4220
commit
6f70946a27
1 changed files with 3 additions and 0 deletions
|
@ -86,6 +86,9 @@ func (daemon *Daemon) fillPlatformInfo(v *types.Info, sysInfo *sysinfo.SysInfo)
|
|||
if !v.KernelMemory {
|
||||
v.Warnings = append(v.Warnings, "WARNING: No kernel memory limit support")
|
||||
}
|
||||
if !v.KernelMemoryTCP {
|
||||
v.Warnings = append(v.Warnings, "WARNING: No kernel memory TCP limit support")
|
||||
}
|
||||
if !v.OomKillDisable {
|
||||
v.Warnings = append(v.Warnings, "WARNING: No oom kill disable support")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue