Skip to content

Commit

Permalink
Revert "Wrapped error is always nil"
Browse files Browse the repository at this point in the history
This reverts commit 9d9cea1.
  • Loading branch information
dfarrell07 committed Sep 1, 2022
1 parent f37d15c commit 0e53678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/submariner/scc/ensure.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ func Ensure(dynClient dynamic.Interface, namespace string) (bool, error) {
updateScc = updateScc || result
}

return updateScc, nil
return updateScc, errors.Wrap(err, "error updating the SCC resource")
}

0 comments on commit 0e53678

Please sign in to comment.