forked from openstack-k8s-operators/openstack-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change fixes a nil pointer dereference by ensuring the job failures exceed the defined BackoffLimit. Since our logic is written to determine if the BackoffLimit has been exceeded, there is no need to specifically check the condition.Reason that would tell us the same thing. We can simply infer from our check that the job has failed due to the BackoffLimit being reached. closes OSPRH-11068 Signed-off-by: Fabricio Aguiar <[email protected]> Co-Authored-by: Brendan Shephard <[email protected]>
- Loading branch information
Showing
1 changed file
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters