1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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>
This commit is contained in:
Qiang Huang 2015-10-09 14:57:47 +08:00
parent 4a9d039721
commit aaacde4fd2

View file

@ -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,