From fe9cc5c512f7bc522714ac85f90fe932cd9f7929 Mon Sep 17 00:00:00 2001 From: Aleksandr Stefurishin Date: Fri, 20 Dec 2024 11:12:46 +0300 Subject: [PATCH] fix linter Signed-off-by: Aleksandr Stefurishin --- images/agent/src/cmd/llvs.go | 4 ++-- images/agent/src/cmd/llvs_ee.go | 7 ++++--- images/agent/src/internal/controller/llv/llvs_ee.go | 3 ++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/images/agent/src/cmd/llvs.go b/images/agent/src/cmd/llvs.go index 8f460c5a..ea6841a1 100644 --- a/images/agent/src/cmd/llvs.go +++ b/images/agent/src/cmd/llvs.go @@ -3,12 +3,12 @@ package main import ( + "sigs.k8s.io/controller-runtime/pkg/manager" + "agent/internal/cache" "agent/internal/config" "agent/internal/logger" "agent/internal/monitoring" - - "sigs.k8s.io/controller-runtime/pkg/manager" ) func addLLVSReconciler( diff --git a/images/agent/src/cmd/llvs_ee.go b/images/agent/src/cmd/llvs_ee.go index 903100d4..bd0dec95 100644 --- a/images/agent/src/cmd/llvs_ee.go +++ b/images/agent/src/cmd/llvs_ee.go @@ -3,15 +3,16 @@ package main import ( + "os" + + "sigs.k8s.io/controller-runtime/pkg/manager" + "agent/internal/cache" "agent/internal/config" "agent/internal/controller" "agent/internal/controller/llvs" "agent/internal/logger" "agent/internal/monitoring" - "os" - - "sigs.k8s.io/controller-runtime/pkg/manager" ) func addLLVSReconciler( diff --git a/images/agent/src/internal/controller/llv/llvs_ee.go b/images/agent/src/internal/controller/llv/llvs_ee.go index 38330769..1095e0de 100644 --- a/images/agent/src/internal/controller/llv/llvs_ee.go +++ b/images/agent/src/internal/controller/llv/llvs_ee.go @@ -3,13 +3,14 @@ package llv import ( - "agent/internal/utils" "context" "errors" "fmt" "github.com/deckhouse/sds-node-configurator/api/v1alpha1" "k8s.io/apimachinery/pkg/types" + + "agent/internal/utils" ) func (r *Reconciler) handleLLVSSource(ctx context.Context, llv *v1alpha1.LVMLogicalVolume, lvg *v1alpha1.LVMVolumeGroup) (string, bool, error) {