Skip to content

Commit f46f014

Browse files
remove incorrect comments
1 parent 66c1c04 commit f46f014

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

pkg/autoscaler/metrics/collector_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,6 @@ func TestMetricCollectorPausing(t *testing.T) {
722722
t.Errorf("Paused: StableRPS() = %v, want %v", gotRPS, wantPausedRPS)
723723
}
724724

725-
// resume metric collection and go for half stable window
726725
coll.Resume(&defaultMetric)
727726
// increment by two to cover [2-3] (4 seconds total)
728727
now = now.Add(2 * time.Second)

pkg/reconciler/metric/metric_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,6 @@ func kpa(ns, n string) *autoscalingv1alpha1.PodAutoscaler {
394394
kpa.Generation = 1
395395
kpa.Annotations[autoscaling.ClassAnnotationKey] = "kpa.autoscaling.knative.dev"
396396
kpa.Annotations[autoscaling.MetricAnnotationKey] = "concurrency"
397-
// pause metrics initially
398397
kpa.Status.MetricsPaused = false
399398
kpa.Status.InitializeConditions()
400399
return kpa

0 commit comments

Comments
 (0)