mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
Removed pre-go1.17 build-tags with go fix;
go mod init
go fix -mod=readonly ./...
rm go.mod
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
19 lines
258 B
Go
19 lines
258 B
Go
//go:build !windows
|
|
|
|
package main
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
func runDaemon(opts *daemonOptions) error {
|
|
daemonCli := NewDaemonCli()
|
|
return daemonCli.start(opts)
|
|
}
|
|
|
|
func initLogging(_, stderr io.Writer) {
|
|
logrus.SetOutput(stderr)
|
|
}
|