executor: make docker driver logger sugared
This commit is contained in:
parent
b0fe7e4115
commit
da224c7580
|
@ -41,7 +41,7 @@ import (
|
|||
)
|
||||
|
||||
type DockerDriver struct {
|
||||
logger *zap.Logger
|
||||
log *zap.SugaredLogger
|
||||
client *client.Client
|
||||
initVolumeHostDir string
|
||||
toolboxPath string
|
||||
|
@ -56,7 +56,7 @@ func NewDockerDriver(logger *zap.Logger, executorID, initVolumeHostDir, toolboxP
|
|||
}
|
||||
|
||||
return &DockerDriver{
|
||||
logger: logger,
|
||||
log: logger.Sugar(),
|
||||
client: cli,
|
||||
initVolumeHostDir: initVolumeHostDir,
|
||||
toolboxPath: toolboxPath,
|
||||
|
|
Loading…
Reference in New Issue