From be7784e049b1f934394fdf09252626f8ae98ae8e Mon Sep 17 00:00:00 2001 From: Muhammad Talal Anwar Date: Thu, 26 Sep 2024 00:14:51 +0200 Subject: [PATCH] fix(e2e): typo --- e2e/controller_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/controller_test.go b/e2e/controller_test.go index 84641c65..c8a124b1 100644 --- a/e2e/controller_test.go +++ b/e2e/controller_test.go @@ -59,7 +59,7 @@ var _ = Describe("Controller", Ordered, func() { swiftNs = "swift" resmgmtNs = "resmgmt" - resmgcetOSAbsencePRomRule = getFixture("resmgmt_openstack_absent_metrics_alert_rules.yaml") + resmgmtOSAbsencePromRule = getFixture("resmgmt_openstack_absent_metrics_alert_rules.yaml") ) Describe("Create", func() { @@ -73,7 +73,7 @@ var _ = Describe("Controller", Ordered, func() { It("should create "+osAbsencePRName+" in "+resmgmtNs+" namespace", func() { expectPromRulesToMatch( - resmgcetOSAbsencePRomRule, + resmgmtOSAbsencePromRule, getPromRule(newObjKey(resmgmtNs, osAbsencePRName)), ) }) @@ -177,8 +177,8 @@ var _ = Describe("Controller", Ordered, func() { limesRolePRName := "openstack-limes-roleassign.alerts" deletePromRule(newObjKey(resmgmtNs, limesRolePRName)) - expected := make([]monitoringv1.RuleGroup, 0, len(resmgcetOSAbsencePRomRule.Spec.Groups)-1) - for _, g := range resmgcetOSAbsencePRomRule.Spec.Groups { + expected := make([]monitoringv1.RuleGroup, 0, len(resmgmtOSAbsencePromRule.Spec.Groups)-1) + for _, g := range resmgmtOSAbsencePromRule.Spec.Groups { if !strings.Contains(g.Name, limesRolePRName) { expected = append(expected, g) }