diff --git a/go.mod b/go.mod index 37fdb41736..3a1d049c5e 100644 --- a/go.mod +++ b/go.mod @@ -31,7 +31,6 @@ require ( github.com/pkg/errors v0.9.1 github.com/prometheus/client_golang v1.20.5 github.com/sebdah/goldie/v2 v2.5.5 - github.com/sirupsen/logrus v1.9.3 github.com/stretchr/testify v1.10.0 github.com/vrischmann/envconfig v1.3.0 golang.org/x/exp v0.0.0-20241204233417-43b7b7cde48d @@ -104,6 +103,7 @@ require ( github.com/prometheus/procfs v0.15.1 // indirect github.com/robfig/cron/v3 v3.0.1 // indirect github.com/sergi/go-diff v1.3.1 // indirect + github.com/sirupsen/logrus v1.9.3 // indirect github.com/sosodev/duration v1.3.1 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/objx v0.5.2 // indirect diff --git a/internal/broker/bind_envtest_test.go b/internal/broker/bind_envtest_test.go index a15d84bc8a..3fe166a0aa 100644 --- a/internal/broker/bind_envtest_test.go +++ b/internal/broker/bind_envtest_test.go @@ -17,7 +17,6 @@ import ( "github.com/kyma-project/kyma-environment-broker/internal/kubeconfig" "github.com/kyma-project/kyma-environment-broker/internal/storage" "github.com/pivotal-cf/brokerapi/v8/domain" - "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" @@ -51,11 +50,6 @@ func TestCreateBinding(t *testing.T) { err := corev1.AddToScheme(sch) assert.NoError(t, err) - logs := logrus.New() - logs.SetLevel(logrus.DebugLevel) - logs.SetFormatter(&logrus.JSONFormatter{ - TimestampFormat: time.RFC3339Nano, - }) // prepare envtest to provide valid kubeconfig envFirst, configFirst, clientFirst := createEnvTest(t) defer func(env *envtest.Environment) {