Skip to content

Commit

Permalink
remove local debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
dmjb committed Jul 11, 2024
1 parent d748664 commit 7b97c19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/engine/eval_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"database/sql"
"errors"
"fmt"
"github.com/stacklok/minder/internal/flags"

"github.com/google/uuid"
"github.com/rs/zerolog"
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 7b97c19

Please sign in to comment.