Browse Source

Remove uneceassary comment

Jonatas Baldin 5 years ago
parent
commit
8eb569fc92
1 changed files with 0 additions and 2 deletions
  1. 0 2
      pkg/controllers/externalsecret/externalsecret_controller_test.go

+ 0 - 2
pkg/controllers/externalsecret/externalsecret_controller_test.go

@@ -122,8 +122,6 @@ var _ = Describe("ExternalSecret controller", func() {
 			Expect(externalSecretConditionShouldBe(ExternalSecretName, ExternalSecretNamespace, esv1alpha1.ExternalSecretReady, v1.ConditionFalse, 0.0)).To(BeTrue())
 			Expect(externalSecretConditionShouldBe(ExternalSecretName, ExternalSecretNamespace, esv1alpha1.ExternalSecretReady, v1.ConditionTrue, 1.0)).To(BeTrue())
 
-			// When creating a new ExternalSecret, the Reconcile loop executes twice
-			// due the call to `controllerutil.SetControllerReference`
 			Eventually(func() float64 {
 				Expect(syncCallsTotal.WithLabelValues(ExternalSecretName, ExternalSecretNamespace).Write(&metric)).To(Succeed())
 				return metric.GetCounter().GetValue()