Skip to content

Commit 883296e

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fix: fallback to gauge for protofmt-based negotiations
1 parent 0e23fdb commit 883296e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pkg/metrics_store/metrics_writer_test.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ package metricsstore
1818

1919
import (
2020
"fmt"
21-
"github.com/google/go-cmp/cmp"
22-
"github.com/prometheus/common/expfmt"
2321
"reflect"
2422
"strings"
2523
"testing"
2624

25+
"github.com/google/go-cmp/cmp"
26+
"github.com/prometheus/common/expfmt"
27+
2728
v1 "k8s.io/api/core/v1"
2829
"k8s.io/apimachinery/pkg/api/meta"
2930
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -266,7 +267,8 @@ func TestWriteAllWithEmptyStores(t *testing.T) {
266267
}
267268
}
268269

269-
// TODO: AFAIR empty headers are ignored by Prometheus? If not, we should remove them.
270+
// TODO: AFFAIR empty headers are ignored by Prometheus? If not, we should remove them.
271+
// No two consecutive headers will be entirely the same. The cases used below are only for their suffixes.
270272
func TestSanitizeHeaders(t *testing.T) {
271273
boilerplateHeaders := []string{
272274
"",

0 commit comments

Comments
 (0)