Merge pull request #23671 from tombee/task-creation-log-debug
Change log.printf service creation msg to debug Upstream-commit: 95074b57c6958cf89e870ddcacbe4ee80ef8b8ad Component: engine
This commit is contained in:
@ -3,11 +3,12 @@ package container
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"log"
|
||||
"net"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
|
||||
clustertypes "github.com/docker/docker/daemon/cluster/provider"
|
||||
"github.com/docker/docker/reference"
|
||||
"github.com/docker/engine-api/types"
|
||||
@ -345,7 +346,7 @@ func (c *containerConfig) serviceConfig() *clustertypes.ServiceConfig {
|
||||
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{
|
||||
Name: c.task.ServiceAnnotations.Name,
|
||||
Aliases: make(map[string][]string),
|
||||
|
||||
Reference in New Issue
Block a user