switch to logrus.FieldLogger and arktest.NewLogger() everywhere

Signed-off-by: Steve Kriss <steve@heptio.com>
This commit is contained in:
Steve Kriss
2017-12-12 15:22:46 -08:00
parent 4aea9b9a2c
commit 56c9d68137
24 changed files with 91 additions and 193 deletions

View File

@@ -23,7 +23,6 @@ import (
"time"
"github.com/robfig/cron"
testlogger "github.com/sirupsen/logrus/hooks/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
@@ -362,7 +361,7 @@ func TestParseCronSchedule(t *testing.T) {
},
}
logger, _ := testlogger.NewNullLogger()
logger := arktest.NewLogger()
c, errs := parseCronSchedule(s, logger)
require.Empty(t, errs)