From 6fb630adc27ebf7438d8f396991f3f84d4c92665 Mon Sep 17 00:00:00 2001 From: ecrupper Date: Fri, 6 Oct 2023 10:30:18 -0500 Subject: [PATCH] change log from linux to local - mistake --- executor/linux/stage.go | 2 -- executor/local/stage.go | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/executor/linux/stage.go b/executor/linux/stage.go index a429442e..62660970 100644 --- a/executor/linux/stage.go +++ b/executor/linux/stage.go @@ -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. @@ -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 } diff --git a/executor/local/stage.go b/executor/local/stage.go index 5a920b7b..a6328a3d 100644 --- a/executor/local/stage.go +++ b/executor/local/stage.go @@ -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. @@ -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 }