|
@@ -14,8 +14,8 @@ import (
|
|
|
"github.com/sirupsen/logrus"
|
|
|
)
|
|
|
|
|
|
-// FillPlatformInfo fills the platform related info.
|
|
|
-func (daemon *Daemon) FillPlatformInfo(v *types.Info, sysInfo *sysinfo.SysInfo) {
|
|
|
+// fillPlatformInfo fills the platform related info.
|
|
|
+func (daemon *Daemon) fillPlatformInfo(v *types.Info, sysInfo *sysinfo.SysInfo) {
|
|
|
v.MemoryLimit = sysInfo.MemoryLimit
|
|
|
v.SwapLimit = sysInfo.SwapLimit
|
|
|
v.KernelMemory = sysInfo.KernelMemory
|