From 26d1432ae6c19c91fb6358e7629a9179a85b70f7 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Thu, 19 Apr 2018 07:41:56 +0100 Subject: Update all plugins to use plugin/pkg/log (#1694) * Update all plugins to use plugin/pkg/log I wish this could have been done with sed. Alas manually changed all callers to use the new plugin/pkg/log package. * Error -> Info * Add docs to debug plugin as well --- plugin/auto/walk_test.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'plugin/auto/walk_test.go') diff --git a/plugin/auto/walk_test.go b/plugin/auto/walk_test.go index 29b9dbb55..7549f8634 100644 --- a/plugin/auto/walk_test.go +++ b/plugin/auto/walk_test.go @@ -2,7 +2,6 @@ package auto import ( "io/ioutil" - "log" "os" "path" "regexp" @@ -20,8 +19,6 @@ www IN A 127.0.0.1 ` func TestWalk(t *testing.T) { - log.SetOutput(ioutil.Discard) - tempdir, err := createFiles() if err != nil { if tempdir != "" { @@ -53,8 +50,6 @@ func TestWalk(t *testing.T) { } func TestWalkNonExistent(t *testing.T) { - log.SetOutput(ioutil.Discard) - nonExistingDir := "highly_unlikely_to_exist_dir" ldr := loader{ -- cgit v1.2.3