Remove the last dangling reference to old logging package

This commit is contained in:
Joona Hoikkala
2023-01-02 18:40:06 +02:00
parent 3e0ee478b7
commit 1c4e1e55e4
3 changed files with 1 additions and 13 deletions
+1 -3
View File
@@ -7,8 +7,6 @@ import (
"os"
"syscall"
"testing"
log "github.com/sirupsen/logrus"
)
func fakeConfig() AcmeDnsConfig {
@@ -36,7 +34,7 @@ func TestSetupLogging(t *testing.T) {
t.Errorf("Got unexpected error: %s", err)
} else {
if logger.Sugar().Level() != test.expected {
t.Errorf("Test %d: Expected loglevel %s but got %s", i, test.expected, log.GetLevel().String())
t.Errorf("Test %d: Expected loglevel %s but got %s", i, test.expected, logger.Sugar().Level())
}
}
}