Signed-off-by: tomwbarlow@gmail.com <tomwbarlow@gmail.com>
| ... | ... |
@@ -3,11 +3,12 @@ package container |
| 3 | 3 |
import ( |
| 4 | 4 |
"errors" |
| 5 | 5 |
"fmt" |
| 6 |
- "log" |
|
| 7 | 6 |
"net" |
| 8 | 7 |
"strings" |
| 9 | 8 |
"time" |
| 10 | 9 |
|
| 10 |
+ "github.com/Sirupsen/logrus" |
|
| 11 |
+ |
|
| 11 | 12 |
clustertypes "github.com/docker/docker/daemon/cluster/provider" |
| 12 | 13 |
"github.com/docker/docker/reference" |
| 13 | 14 |
"github.com/docker/engine-api/types" |
| ... | ... |
@@ -345,7 +346,7 @@ func (c *containerConfig) serviceConfig() *clustertypes.ServiceConfig {
|
| 345 | 345 |
return nil |
| 346 | 346 |
} |
| 347 | 347 |
|
| 348 |
- log.Printf("Creating service config in agent for t = %+v", c.task)
|
|
| 348 |
+ logrus.Debugf("Creating service config in agent for t = %+v", c.task)
|
|
| 349 | 349 |
svcCfg := &clustertypes.ServiceConfig{
|
| 350 | 350 |
Name: c.task.ServiceAnnotations.Name, |
| 351 | 351 |
Aliases: make(map[string][]string), |