mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
daemon: convert version log statement to fields
Signed-off-by: Simon Eskildsen <sirup@sirupsen.com>
This commit is contained in:
parent
7dd79dcc7b
commit
e1ca439828
1 changed files with 6 additions and 6 deletions
|
@ -114,12 +114,12 @@ func mainDaemon() {
|
|||
return
|
||||
}
|
||||
|
||||
logrus.Infof("docker daemon: %s %s; execdriver: %s; graphdriver: %s",
|
||||
dockerversion.VERSION,
|
||||
dockerversion.GITCOMMIT,
|
||||
d.ExecutionDriver().Name(),
|
||||
d.GraphDriver().String(),
|
||||
)
|
||||
logrus.WithFields(logrus.Fields{
|
||||
"version": dockerversion.VERSION,
|
||||
"commit": dockerversion.GITCOMMIT,
|
||||
"execdriver": d.ExecutionDriver().Name(),
|
||||
"graphdriver": d.GraphDriver().String(),
|
||||
}).Info("Docker daemon")
|
||||
|
||||
if err := d.Install(eng); err != nil {
|
||||
daemonInitWait <- err
|
||||
|
|
Loading…
Reference in a new issue