Skip to content

Commit

Permalink
change log from linux to local - mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper committed Oct 6, 2023
1 parent c14e8e4 commit 6fb630a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions executor/linux/stage.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"github.com/go-vela/types/constants"
"github.com/go-vela/types/pipeline"
"github.com/go-vela/worker/internal/step"
"github.com/sirupsen/logrus"
)

// CreateStage prepares the stage for execution.
Expand Down Expand Up @@ -142,7 +141,6 @@ func (c *client) ExecStage(ctx context.Context, s *pipeline.Stage, m *sync.Map)
//
// https://pkg.go.dev/github.com/go-vela/worker/internal/step#Skip
if step.Skip(_step, c.build, c.repo) {
logrus.Infof("Skipping step %s due to ruleset", _step.Name)
continue
}

Expand Down
2 changes: 2 additions & 0 deletions executor/local/stage.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

"github.com/go-vela/types/pipeline"
"github.com/go-vela/worker/internal/step"
"github.com/sirupsen/logrus"
)

// create a stage logging pattern.
Expand Down Expand Up @@ -90,6 +91,7 @@ func (c *client) ExecStage(ctx context.Context, s *pipeline.Stage, m *sync.Map)
//
// https://pkg.go.dev/github.com/go-vela/worker/internal/step#Skip
if step.Skip(_step, c.build, c.repo) {
logrus.Infof("Skipping step %s due to ruleset", _step.Name)
continue
}

Expand Down

0 comments on commit 6fb630a

Please sign in to comment.