From ca355d8c383eddc34c5e252e36ba573e691075fb Mon Sep 17 00:00:00 2001 From: ecrupper Date: Fri, 26 Jul 2024 09:44:02 -0500 Subject: [PATCH] address some linter comments --- executor/linux/linux.go | 1 - executor/linux/outputs.go | 3 ++- executor/local/stage.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/executor/linux/linux.go b/executor/linux/linux.go index 4a3e24c5..d2c1bfd2 100644 --- a/executor/linux/linux.go +++ b/executor/linux/linux.go @@ -48,7 +48,6 @@ type ( serviceLogs sync.Map steps sync.Map stepLogs sync.Map - workspacePath string streamRequests chan message.StreamRequest diff --git a/executor/linux/outputs.go b/executor/linux/outputs.go index c2d7b77e..efeb12cf 100644 --- a/executor/linux/outputs.go +++ b/executor/linux/outputs.go @@ -8,8 +8,9 @@ import ( "fmt" "strings" - "github.com/go-vela/types/pipeline" "github.com/sirupsen/logrus" + + "github.com/go-vela/types/pipeline" ) // outputSvc handles communication with the outputs container during the build. diff --git a/executor/local/stage.go b/executor/local/stage.go index b426058d..d7f271cd 100644 --- a/executor/local/stage.go +++ b/executor/local/stage.go @@ -77,7 +77,7 @@ func (c *client) PlanStage(ctx context.Context, s *pipeline.Stage, m *sync.Map) } // ExecStage runs a stage. -func (c *client) ExecStage(ctx context.Context, s *pipeline.Stage, m *sync.Map, opEnv, maskEnv map[string]string) error { +func (c *client) ExecStage(ctx context.Context, s *pipeline.Stage, m *sync.Map, _, _ map[string]string) error { // close the stage channel at the end defer func() { errChan, ok := m.Load(s.Name)