Skip to content

Commit

Permalink
revise value name
Browse files Browse the repository at this point in the history
Signed-off-by: Shane <[email protected]>
  • Loading branch information
ctccxxd committed Dec 8, 2024
1 parent c52d955 commit dc2477e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apis/keda/v1alpha1/scaledobject_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ var _ = It("should validate the so creation When the fallback are configured and
FailureThreshold: 3,
Replicas: 6,
}
for _, trigger := range so.Spec.Triggers {
trigger.MetricType = "AverageValue"
for index, _ := range so.Spec.Triggers {
so.Spec.Triggers[index].MetricType = "AverageValue"
}
err := k8sClient.Create(context.Background(), namespace)
Expect(err).ToNot(HaveOccurred())
Expand Down

0 comments on commit dc2477e

Please sign in to comment.