Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rakesh-garimella committed Aug 28, 2024
1 parent cef19ed commit b0a9e61
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion internal/resources/otelcollector/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ import (
"context"
"errors"
"fmt"
"maps"

appsv1 "k8s.io/api/apps/v1"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
"maps"
"sigs.k8s.io/controller-runtime/pkg/client"

"github.com/kyma-project/telemetry-manager/internal/configchecksum"
Expand Down
3 changes: 2 additions & 1 deletion internal/resources/otelcollector/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ import (
"context"
"errors"
"fmt"
"maps"

corev1 "k8s.io/api/core/v1"
networkingv1 "k8s.io/api/networking/v1"
rbacv1 "k8s.io/api/rbac/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
"k8s.io/apimachinery/pkg/util/intstr"
"maps"
"sigs.k8s.io/controller-runtime/pkg/client"

"github.com/kyma-project/telemetry-manager/internal/k8sutils"
Expand Down
1 change: 1 addition & 0 deletions internal/testutils/pipeline_opts.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package testutils

import (
"fmt"

telemetryv1alpha1 "github.com/kyma-project/telemetry-manager/apis/telemetry/v1alpha1"
)

Expand Down
1 change: 1 addition & 0 deletions test/e2e/logs_basic_v1beta1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package e2e

import (
"fmt"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
3 changes: 2 additions & 1 deletion test/testkit/mocks/prommetricgen/metric_producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package prommetricgen

import (
"fmt"
"maps"

"go.opentelemetry.io/collector/pdata/pmetric"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/intstr"
"maps"

"github.com/kyma-project/telemetry-manager/test/testkit/apiserverproxy"
)
Expand Down

0 comments on commit b0a9e61

Please sign in to comment.