Skip to content

Commit

Permalink
address some linter comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper committed Jul 26, 2024
1 parent cc58cf8 commit ca355d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion executor/linux/linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ type (
serviceLogs sync.Map
steps sync.Map
stepLogs sync.Map
workspacePath string

streamRequests chan message.StreamRequest

Expand Down
3 changes: 2 additions & 1 deletion executor/linux/outputs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion executor/local/stage.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ca355d8

Please sign in to comment.