mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Split daemon service code to _windows file
This moves some of the code that was conditionally executed on Windows to a separate, windows-only file. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
4460472f4e
commit
cd3e84c6b3
5 changed files with 45 additions and 48 deletions
8
cmd/dockerd/docker_unix.go
Normal file
8
cmd/dockerd/docker_unix.go
Normal file
|
@ -0,0 +1,8 @@
|
|||
// +build !windows
|
||||
|
||||
package main
|
||||
|
||||
func runDaemon(opts *daemonOptions) error {
|
||||
daemonCli := NewDaemonCli()
|
||||
return daemonCli.start(opts)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue