We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 352660c commit 27f2282Copy full SHA for 27f2282
collector/cluster_settings_test.go
@@ -23,7 +23,7 @@ func TestClusterSettingsStats(t *testing.T) {
23
f, _ := os.Open(filename)
24
io.Copy(buf, f)
25
f.Close()
26
- out := string(buf.Bytes())
+ out := string(buf.String())
27
for hn, handler := range map[string]http.Handler{
28
"plain": http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
29
fmt.Fprintln(w, out)
@@ -62,7 +62,7 @@ func TestClusterMaxShardsPerNode(t *testing.T) {
62
63
64
65
66
67
68
0 commit comments