fix: format imports with goimports

Signed-off-by: Ruslan Semagin <pixel.365.24@gmail.com>
This commit is contained in:
Ruslan Semagin
2025-02-12 12:15:14 +03:00
parent 2e4f7c4477
commit 835bcbeb12
5 changed files with 7 additions and 3 deletions

View File

@@ -94,7 +94,7 @@ func getControlCmd(ks meta.IKubescape, scanInfo *cautils.ScanInfo) *cobra.Comman
if err := validateControlScanInfo(scanInfo); err != nil {
return err
}
results, err := ks.Scan(scanInfo)
if err != nil {
logger.L().Fatal(err.Error())

View File

@@ -6,9 +6,10 @@ package update
import (
"fmt"
"github.com/kubescape/kubescape/v3/core/meta"
"strings"
"github.com/kubescape/kubescape/v3/core/meta"
"github.com/kubescape/backend/pkg/versioncheck"
"github.com/kubescape/go-logger"
"github.com/kubescape/go-logger/helpers"

View File

@@ -2,6 +2,7 @@ package version
import (
"fmt"
"github.com/kubescape/kubescape/v3/core/meta"
"github.com/kubescape/backend/pkg/versioncheck"

View File

@@ -3,10 +3,11 @@ package version
import (
"bytes"
"context"
"github.com/kubescape/kubescape/v3/core/core"
"io"
"testing"
"github.com/kubescape/kubescape/v3/core/core"
"github.com/kubescape/backend/pkg/versioncheck"
"github.com/stretchr/testify/assert"
)

View File

@@ -2,6 +2,7 @@ package meta
import (
"context"
"github.com/anchore/grype/grype/presenter/models"
"github.com/kubescape/kubescape/v3/core/cautils"
metav1 "github.com/kubescape/kubescape/v3/core/meta/datastructures/v1"