From dbaf2ea3541c7b771f499fe14d4624f5858193fa Mon Sep 17 00:00:00 2001 From: Mojtaba Date: Wed, 11 Dec 2024 10:45:20 +0100 Subject: [PATCH] fix: linter complain --- e2e/suite.go | 1 - pkg/builder/kaniko/kaniko.go | 2 +- pkg/instance/execution.go | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/e2e/suite.go b/e2e/suite.go index 1051a7c..ab89b53 100644 --- a/e2e/suite.go +++ b/e2e/suite.go @@ -56,7 +56,6 @@ func (s *Suite) TearDownTest() { } func (s *Suite) cleanupSuite() { - return s.T().Logf("Cleaning up knuu...") if err := s.Knuu.CleanUp(context.Background()); err != nil { s.T().Logf("Error cleaning up test suite: %v", err) diff --git a/pkg/builder/kaniko/kaniko.go b/pkg/builder/kaniko/kaniko.go index 13f86ba..4e613f7 100644 --- a/pkg/builder/kaniko/kaniko.go +++ b/pkg/builder/kaniko/kaniko.go @@ -8,6 +8,7 @@ import ( "fmt" "path/filepath" + "github.com/sirupsen/logrus" batchv1 "k8s.io/api/batch/v1" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" @@ -17,7 +18,6 @@ import ( "github.com/celestiaorg/knuu/pkg/builder/registry" "github.com/celestiaorg/knuu/pkg/names" "github.com/celestiaorg/knuu/pkg/system" - "github.com/sirupsen/logrus" ) const ( diff --git a/pkg/instance/execution.go b/pkg/instance/execution.go index 09eceac..988e1a4 100644 --- a/pkg/instance/execution.go +++ b/pkg/instance/execution.go @@ -6,10 +6,10 @@ import ( "strings" "time" - "github.com/celestiaorg/knuu/pkg/k8s" + "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" - "github.com/sirupsen/logrus" + "github.com/celestiaorg/knuu/pkg/k8s" ) const (