Skip to content

Commit

Permalink
addressing comment from Juan
Browse files Browse the repository at this point in the history
  • Loading branch information
edcdavid committed Dec 14, 2023
1 parent cecfefc commit 82b6a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tnf/claim/show/failures/failures.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func getFailedTestCasesByTestSuite(claimResultsByTestSuite map[string][]*claim.T
TestCaseDescription: tc.CatalogInfo.Description,
}

nonCompliantObjects, err := getNonCompliantObjectsFromFailureReason(tc.SkipReason)
nonCompliantObjects, err := getNonCompliantObjectsFromFailureReason(tc.CheckDetails)
if err != nil {
// This means the test case doesn't use the report objects yet. Just use the raw failure reason instead.
// Also, send the error into stderr, so it can be filtered out with "2>/errors.txt" or "2>/dev/null".
Expand Down

0 comments on commit 82b6a8b

Please sign in to comment.