Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.

Commit 1a65788

Browse files
committed
Remove StatusSkipped
1 parent 05684ad commit 1a65788

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

validator/pkg/validator/executor.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,6 @@ func (e *Executor) executeGroup(ctx context.Context, group ExecutionGroup) []*Re
178178
"reason", result.Reason,
179179
"message", result.Message)
180180
e.logger.Warn("Validator completed with failure", logAttrs...)
181-
case StatusSkipped:
182-
// Add reason for skipped validators
183-
logAttrs = append(logAttrs, "reason", result.Reason)
184-
e.logger.Info("Validator skipped", logAttrs...)
185181
default:
186182
e.logger.Info("Validator completed", logAttrs...)
187183
}

validator/pkg/validator/validator.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ type Status string
3131
const (
3232
StatusSuccess Status = "success"
3333
StatusFailure Status = "failure"
34-
StatusSkipped Status = "skipped"
3534
)
3635

3736
// Result represents the outcome of a single validator

0 commit comments

Comments
 (0)