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)