From 50b18098c37050f9cc55b4affa3fc8f1f73c93fb Mon Sep 17 00:00:00 2001 From: jingrui Date: Tue, 5 Nov 2019 09:32:40 +0800 Subject: [PATCH 1/2] docker: ignore warning for docker info Change-Id: I7835830560068fc0ad135807c0d41f6757a02dd3 Signed-off-by: jingrui --- components/engine/daemon/info_unix.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/engine/daemon/info_unix.go b/components/engine/daemon/info_unix.go index c53804edec..131f877485 100644 --- a/components/engine/daemon/info_unix.go +++ b/components/engine/daemon/info_unix.go @@ -40,7 +40,6 @@ func (daemon *Daemon) fillPlatformInfo(v *types.Info, sysInfo *sysinfo.SysInfo) } if v.RuncCommit.ID == "" { - logrus.Warnf("failed to retrieve %s version: unknown output format: %s", defaultRuntimeBinary, string(rv)) v.RuncCommit.ID = "N/A" } } else { @@ -72,7 +71,6 @@ func (daemon *Daemon) fillPlatformInfo(v *types.Info, sysInfo *sysinfo.SysInfo) } v.InitCommit = ver } else { - logrus.Warnf("failed to retrieve %s version: %s", defaultInitBinary, err) v.InitCommit.ID = "N/A" } -- 2.17.1