From c1dba76a948a3e919ef211e4e65377f95d9de477 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 13 Jul 2018 13:14:45 +0200 Subject: [PATCH] Unexport daemon.FillPlatformInfo Signed-off-by: Sebastiaan van Stijn Upstream-commit: c03d3a416b24c18dfbb938397052eebd8b67d1a3 Component: engine --- components/engine/daemon/info.go | 2 +- components/engine/daemon/info_unix.go | 4 ++-- components/engine/daemon/info_windows.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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) { }