From 7b97c1999bf229424be07d2af6ef01f28cecf8de Mon Sep 17 00:00:00 2001 From: Don Browne Date: Thu, 11 Jul 2024 16:57:10 +0100 Subject: [PATCH] remove local debugging --- internal/engine/eval_status.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/engine/eval_status.go b/internal/engine/eval_status.go index cacbb44f8a..5373c66dc8 100644 --- a/internal/engine/eval_status.go +++ b/internal/engine/eval_status.go @@ -19,6 +19,7 @@ import ( "database/sql" "errors" "fmt" + "github.com/stacklok/minder/internal/flags" "github.com/google/uuid" "github.com/rs/zerolog" @@ -200,7 +201,7 @@ func (e *executor) createOrUpdateEvalStatus( logger.Err(err).Msg("error upserting rule alert details") } - if /*flags.Bool(ctx, e.featureFlags, flags.EvalHistory)*/ true { + if flags.Bool(ctx, e.featureFlags, flags.EvalHistory) { // Log in the evaluation history tables _, err = db.WithTransaction(e.querier, func(qtx db.ExtendQuerier) (uuid.UUID, error) { evalID, err := e.historyService.StoreEvaluationStatus(