Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix missed usage of changed function
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
  • Loading branch information
J12934 committed Feb 6, 2025
commit 9732a3d01a6a19c6a933140f40cf53b190730c05
2 changes: 1 addition & 1 deletion operator/controllers/execution/scans/hook_reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (r *ScanReconciler) migrateHookStatus(scan *executionv1.Scan) error {
func (r *ScanReconciler) executeHooks(scan *executionv1.Scan) error {
ctx := context.Background()

err, currentHooks := utils.CurrentHookGroup(scan.Status.OrderedHookStatuses)
currentHooks, err := utils.CurrentHookGroup(scan.Status.OrderedHookStatuses)

if err != nil && scan.Status.State == executionv1.ScanStateErrored {
r.Log.V(8).Info("Skipping hook execution as it already contains failed hooks.")
Expand Down