|
|
@@ -609,7 +609,7 @@ func CreateNamespace(baseName string, c client.Client) (string, error) {
|
|
|
return ns.Name, nil
|
|
|
}
|
|
|
|
|
|
-func externalSecretConditionShouldBe(name string, ns string, ct esv1alpha1.ExternalSecretConditionType, cs v1.ConditionStatus, v float64) bool {
|
|
|
+func externalSecretConditionShouldBe(name, ns string, ct esv1alpha1.ExternalSecretConditionType, cs v1.ConditionStatus, v float64) bool {
|
|
|
return Eventually(func() float64 {
|
|
|
Expect(externalSecretCondition.WithLabelValues(name, ns, string(ct), string(cs)).Write(&metric)).To(Succeed())
|
|
|
return metric.GetGauge().GetValue()
|