Skip to content

Commit f0df920

Browse files
author
Triona Doyle
committed
address review feedback
Signed-off-by: Triona Doyle <bot@example.com>
1 parent c142b12 commit f0df920

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

test/openshift/e2e/ginkgo/sequential/1-092_validate_workload_status_monitoring_alert.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import (
1717
corev1 "k8s.io/api/core/v1"
1818
"k8s.io/apimachinery/pkg/api/errors"
1919
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
20-
"k8s.io/utils/ptr"
2120
"sigs.k8s.io/controller-runtime/pkg/client"
2221
)
2322

@@ -130,14 +129,14 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
130129

131130
argocdFixture.Update(argoCDCluster, func(ac *argov1beta1api.ArgoCD) {
132131
ac.Spec.ApplicationSet = &argov1beta1api.ArgoCDApplicationSet{Image: invalidImage}
133-
ac.Spec.Monitoring = argov1beta1api.ArgoCDMonitoringSpec{Enabled: true, DisableMetrics: ptr.To(false)}
132+
ac.Spec.Monitoring = argov1beta1api.ArgoCDMonitoringSpec{Enabled: true}
134133
})
135134

136135
argoCDNamespaced := &argov1beta1api.ArgoCD{
137136
ObjectMeta: metav1.ObjectMeta{Name: "argocd", Namespace: nsNamespaced.Name},
138137
Spec: argov1beta1api.ArgoCDSpec{
139138
ApplicationSet: &argov1beta1api.ArgoCDApplicationSet{Image: invalidImage},
140-
Monitoring: argov1beta1api.ArgoCDMonitoringSpec{Enabled: true, DisableMetrics: ptr.To(false)},
139+
Monitoring: argov1beta1api.ArgoCDMonitoringSpec{Enabled: true},
141140
},
142141
}
143142
Expect(k8sClient.Create(ctx, argoCDNamespaced)).To(Succeed())

0 commit comments

Comments
 (0)