From 28603a7fd77967dad20db4a7d9dc00ae76ea7545 Mon Sep 17 00:00:00 2001 From: Winter Date: Sun, 10 Aug 2025 20:56:32 -0400 Subject: [PATCH] spindle/engines/nixery: make TailStep private Change-Id: oxlknlmtnuturpnokwwzoqpzmszkkzxs It's not in the Engine interface, so no need for this. Signed-off-by: Winter --- spindle/engines/nixery/engine.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spindle/engines/nixery/engine.go b/spindle/engines/nixery/engine.go index 77c25c9..eb3ddda 100644 --- a/spindle/engines/nixery/engine.go +++ b/spindle/engines/nixery/engine.go @@ -318,7 +318,7 @@ func (e *Engine) RunStep(ctx context.Context, wid models.WorkflowId, w *models.W // start tailing logs in background tailDone := make(chan error, 1) go func() { - tailDone <- e.TailStep(ctx, wfLogger, mkExecResp.ID, wid, idx, step) + tailDone <- e.tailStep(ctx, wfLogger, mkExecResp.ID, wid, idx, step) }() select { @@ -364,7 +364,7 @@ func (e *Engine) RunStep(ctx context.Context, wid models.WorkflowId, w *models.W return nil } -func (e *Engine) TailStep(ctx context.Context, wfLogger *models.WorkflowLogger, execID string, wid models.WorkflowId, stepIdx int, step models.Step) error { +func (e *Engine) tailStep(ctx context.Context, wfLogger *models.WorkflowLogger, execID string, wid models.WorkflowId, stepIdx int, step models.Step) error { if wfLogger == nil { return nil } -- 2.43.0