core: component -> task

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-11-24 16:58:24 -08:00
parent ef407c787a
commit 81ec746d2c
6 changed files with 12 additions and 12 deletions

View File

@@ -126,7 +126,7 @@ func newPipelineRunner(computed *compiler.Value, s solver.Solver, pctx *plancont
lg := log.
Ctx(ctx).
With().
Str("component", t.Path().String()).
Str("task", t.Path().String()).
Logger()
ctx = lg.WithContext(ctx)

View File

@@ -166,7 +166,7 @@ func (p *Pipeline) Run(ctx context.Context) error {
lg := log.
Ctx(ctx).
With().
Str("component", p.name).
Str("task", p.name).
Logger()
start := time.Now()