mirror of
https://github.com/moby/moby.git
synced 2026-01-06 07:21:23 +03:00
Move remote API config out of daemon/
Signed-off-by: Solomon Hykes <solomon@docker.com>
This commit is contained in:
@@ -63,8 +63,7 @@ func mainDaemon() {
|
||||
)
|
||||
|
||||
// Serve api
|
||||
// FIXME: 'Sockets' should not be part of daemon.Config
|
||||
job := eng.Job("serveapi", daemonCfg.Sockets...)
|
||||
job := eng.Job("serveapi", flHosts...)
|
||||
job.SetenvBool("Logging", true)
|
||||
job.SetenvBool("EnableCors", *flEnableCors)
|
||||
job.Setenv("Version", dockerversion.VERSION)
|
||||
|
||||
Reference in New Issue
Block a user