diff --git a/internal/services/executor/driver/docker.go b/internal/services/executor/driver/docker.go index 5c90fe6..4eb5ded 100644 --- a/internal/services/executor/driver/docker.go +++ b/internal/services/executor/driver/docker.go @@ -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,