Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workerqueue IsConflixt needed to check error Cause (#1310)
Because errors are often wrapped, when checking Kubernetes error types on anything other than errors comming straight from Kubernetes, we should be using `errors.Cause(err)` to find the root error. Otherwise, this check continues to passes down to the error handler, which defeated the purposes of the original fix. Co-authored-by: Robert Bailey <[email protected]>
- Loading branch information