Skip to content

Commit 0a27f6a

Browse files
committed
misc: iotuil deprecation
Signed-off-by: Hidde Beydals <[email protected]>
1 parent d56d0a7 commit 0a27f6a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/controller/suite_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import (
2323
"crypto/x509"
2424
"fmt"
2525
"io"
26-
"io/ioutil"
2726
"log"
2827
"math/rand"
2928
"net"
@@ -174,7 +173,7 @@ func setupRegistryServer(ctx context.Context, workspaceDir string, opts registry
174173
server.registryHost = fmt.Sprintf("example.com:%d", port)
175174
// Disable DNS server logging as it is extremely chatty.
176175
dnsLog := log.Default()
177-
dnsLog.SetOutput(ioutil.Discard)
176+
dnsLog.SetOutput(io.Discard)
178177
server.dnsServer, err = mockdns.NewServerWithLogger(map[string]mockdns.Zone{
179178
"example.com.": {
180179
A: []string{"127.0.0.1"},

0 commit comments

Comments
 (0)