Skip to content

Commit

Permalink
[fix] - probe
Browse files Browse the repository at this point in the history
  • Loading branch information
heliapb committed Oct 30, 2024
1 parent 1a3ea2f commit 47dfe04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/analyzers/prometheus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ func TestPrometheusAnalyzer(t *testing.T) {
Items: []*monitoringv1alpha1.ScrapeConfig{
{
ObjectMeta: metav1.ObjectMeta{
Name: "scrape-service",
Name: "scrapeconfig-crd",
Namespace: tc.namespace,
Labels: map[string]string{"service": "notest"},
},
Expand Down Expand Up @@ -488,7 +488,7 @@ func TestPrometheusAnalyzer(t *testing.T) {
},
Spec: monitoringv1.PrometheusSpec{
CommonPrometheusFields: monitoringv1.CommonPrometheusFields{
ScrapeConfigSelector: &metav1.LabelSelector{
ProbeSelector: &metav1.LabelSelector{
MatchLabels: map[string]string{"app": "label"},
},
},
Expand All @@ -501,7 +501,7 @@ func TestPrometheusAnalyzer(t *testing.T) {
Items: []*monitoringv1.Probe{
{
ObjectMeta: metav1.ObjectMeta{
Name: "scrape-service",
Name: "probes-crd",
Namespace: tc.namespace,
Labels: map[string]string{"app": "label"},
},
Expand Down

0 comments on commit 47dfe04

Please sign in to comment.