Remove panic when metrics referee not configured properly

What does this MR do?

Remove panic when metrics referee not configured properly

Why was this MR needed?

CreateReferees is returning a slice of Referee with nil values, causing build.go to still loop over a nil struct causing a panic.

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Added tests for this feature/bug
  • In case of conflicts with master - branch was rebased

What are the relevant issue numbers?

Closes #6183 (closed)

Merge request reports

Loading