Keep daemon quiet when using docker info
If I have some unsupported sysinfo, it's warning on daemon side every time I use `docker info`, it seems unnecessay and annoying to me, let's keep it quiet. Signed-off-by: Qiang Huang <h.huangqiang@huawei.com> Upstream-commit: aaacde4fd24c22b02312793acda75ee987601727 Component: engine
This commit is contained in:
@@ -61,7 +61,7 @@ func (daemon *Daemon) SystemInfo() (*types.Info, error) {
|
||||
initPath = daemon.systemInitPath()
|
||||
}
|
||||
|
||||
sysInfo := sysinfo.New(false)
|
||||
sysInfo := sysinfo.New(true)
|
||||
|
||||
v := &types.Info{
|
||||
ID: daemon.ID,
|
||||
|
||||
Reference in New Issue
Block a user