Test search for a condition but do not check if the result is nil. Cause a flaky tests to panic
found another place in the code that needs to be fixed, bmh controller doesn't check for nil pointer as well.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Red Hat Advanced Cluster Management 2.4 images and security updates), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4618