mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
9b795c3e50
The "quiet" argument was only used in a single place (at daemon startup), and every other use had to pass "false" to prevent this function from logging warnings. Now that SysInfo contains the warnings that occurred when collecting the system information, we can make leave it up to the caller to use those warnings (and log them if wanted). Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
18 lines
391 B
Go
18 lines
391 B
Go
// +build !linux,!freebsd,!windows
|
|
|
|
package daemon // import "github.com/docker/docker/daemon"
|
|
|
|
import (
|
|
"github.com/docker/docker/daemon/config"
|
|
"github.com/docker/docker/pkg/sysinfo"
|
|
)
|
|
|
|
const platformSupported = false
|
|
|
|
func setupResolvConf(config *config.Config) {
|
|
}
|
|
|
|
// RawSysInfo returns *sysinfo.SysInfo .
|
|
func (daemon *Daemon) RawSysInfo() *sysinfo.SysInfo {
|
|
return sysinfo.New()
|
|
}
|