mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 02:33:14 -04:00
cleanup deprecated package io/ioutil (#4920)
Signed-off-by: zounengren <zouyee1989@gmail.com>
This commit is contained in:
@@ -3,7 +3,7 @@ package log
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"io/ioutil"
|
||||
"io"
|
||||
"log"
|
||||
"strings"
|
||||
"testing"
|
||||
@@ -240,7 +240,7 @@ func TestLogged(t *testing.T) {
|
||||
}
|
||||
|
||||
func BenchmarkLogged(b *testing.B) {
|
||||
log.SetOutput(ioutil.Discard)
|
||||
log.SetOutput(io.Discard)
|
||||
|
||||
rule := Rule{
|
||||
NameScope: ".",
|
||||
|
||||
Reference in New Issue
Block a user