Skip to content

Commit

Permalink
add scheme
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
  • Loading branch information
zeeke committed Sep 19, 2024
1 parent 07ed60e commit c5f7088
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/util/k8sreporter/reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ func New(reportPath string) (*kniK8sReporter.KubernetesReporter, error) {
if err != nil {
return err
}

err = monitoringv1.AddToScheme(s)
if err != nil {
return err
}
return nil
}

Expand Down

0 comments on commit c5f7088

Please sign in to comment.