Skip to content

Commit

Permalink
🐛 remove probe remediations from detail string (#3642)
Browse files Browse the repository at this point in the history
For now, this is just producing very long detail strings.
Probably negatively affecting cron results

Signed-off-by: Spencer Schrock <[email protected]>
  • Loading branch information
spencerschrock authored Nov 3, 2023
1 parent b0c782a commit 70c8e05
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@ func structuredResultString(d *checker.CheckDetail) string {
}
}

// Effort to remediate.
if f.Remediation != nil {
sb.WriteString(fmt.Sprintf(": %s (%s effort)", f.Remediation.Text, f.Remediation.Effort.String()))
}
// TODO(#3349) revisit remediation details later

return sb.String()
}

Expand Down

0 comments on commit 70c8e05

Please sign in to comment.