diff --git a/components/engine/daemon/info.go b/components/engine/daemon/info.go index 641b2b17cb..0ed81c3b5e 100644 --- a/components/engine/daemon/info.go +++ b/components/engine/daemon/info.go @@ -69,7 +69,7 @@ func (daemon *Daemon) SystemInfo() (*types.Info, error) { } // Retrieve platform specific info - daemon.FillPlatformInfo(v, sysInfo) + daemon.fillPlatformInfo(v, sysInfo) daemon.fillDriverInfo(v) daemon.fillPluginsInfo(v) daemon.fillSecurityOptions(v, sysInfo) diff --git a/components/engine/daemon/info_unix.go b/components/engine/daemon/info_unix.go index 56be9c06fb..864e8816a9 100644 --- a/components/engine/daemon/info_unix.go +++ b/components/engine/daemon/info_unix.go @@ -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 diff --git a/components/engine/daemon/info_windows.go b/components/engine/daemon/info_windows.go index e452369fc8..bf97971479 100644 --- a/components/engine/daemon/info_windows.go +++ b/components/engine/daemon/info_windows.go @@ -5,6 +5,6 @@ import ( "github.com/docker/docker/pkg/sysinfo" ) -// 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) { }