Skip to content

Commit

Permalink
Wrapped error is always nil
Browse files Browse the repository at this point in the history
This was detected by a code scanning tool.

Signed-off-by: Tom Pantelis <[email protected]>
  • Loading branch information
tpantelis committed Aug 19, 2022
1 parent 5b8e090 commit 9d9cea1
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, errors.Wrap(err, "error updating the SCC resource")
return updateScc, nil
}

0 comments on commit 9d9cea1

Please sign in to comment.