Skip to content

Commit 968d0c9

Browse files
committed
Corrected Error
Signed-off-by: Örnfeldt Philip (66140321) <[email protected]>
1 parent 186a15b commit 968d0c9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/probe/network_dns_latency_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ package probe
1515
import (
1616
"strings"
1717
"testing"
18-
1918
"github.com/prometheus/client_golang/prometheus"
2019
"github.com/prometheus/client_golang/prometheus/testutil"
2120
)
@@ -24,8 +23,8 @@ func TestNetworkDnsLatency(t *testing.T) {
2423
c := newFakeClient()
2524
c.prepare("api/v2/monitor/network/dns/latency", "testdata/network-dns-latency.jsonnet")
2625
r := prometheus.NewPedanticRegistry()
27-
if !testProbe(probeNetworkDnsLatency, c, r) {
28-
t.Errorf("probeNetworkDnsLatency() returned non-success")
26+
if !testProbe(probeNetworkDNSLatency, c, r) {
27+
t.Errorf("probeNetworkDNSLatency() returned non-success")
2928
}
3029

3130
em := `

0 commit comments

Comments
 (0)