1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Change log.printf service creation msg to debug

Signed-off-by: tomwbarlow@gmail.com <tomwbarlow@gmail.com>
This commit is contained in:
tomwbarlow@gmail.com 2016-06-17 15:03:11 +01:00
parent 8f9c7fab24
commit eed8d14ed1

View file

@ -3,11 +3,12 @@ package container
import ( import (
"errors" "errors"
"fmt" "fmt"
"log"
"net" "net"
"strings" "strings"
"time" "time"
"github.com/Sirupsen/logrus"
clustertypes "github.com/docker/docker/daemon/cluster/provider" clustertypes "github.com/docker/docker/daemon/cluster/provider"
"github.com/docker/docker/reference" "github.com/docker/docker/reference"
"github.com/docker/engine-api/types" "github.com/docker/engine-api/types"
@ -345,7 +346,7 @@ func (c *containerConfig) serviceConfig() *clustertypes.ServiceConfig {
return nil return nil
} }
log.Printf("Creating service config in agent for t = %+v", c.task) logrus.Debugf("Creating service config in agent for t = %+v", c.task)
svcCfg := &clustertypes.ServiceConfig{ svcCfg := &clustertypes.ServiceConfig{
Name: c.task.ServiceAnnotations.Name, Name: c.task.ServiceAnnotations.Name,
Aliases: make(map[string][]string), Aliases: make(map[string][]string),