Skip to content

Commit 8a1cca1

Browse files
committed
Fix lint
Signed-off-by: Janario Oliveira <[email protected]>
1 parent bffa3fe commit 8a1cca1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

internal/webhook/podmutation/webhookhandler.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ package podmutation
1818
import (
1919
"context"
2020
"encoding/json"
21+
"net/http"
22+
"slices"
23+
2124
"github.com/go-logr/logr"
2225
corev1 "k8s.io/api/core/v1"
2326
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2427
"k8s.io/apimachinery/pkg/types"
25-
"net/http"
2628
"sigs.k8s.io/controller-runtime/pkg/client"
2729
"sigs.k8s.io/controller-runtime/pkg/webhook/admission"
28-
"slices"
2930

3031
"github.com/open-telemetry/opentelemetry-operator/internal/config"
3132
)

main.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ import (
1919
"crypto/tls"
2020
"flag"
2121
"fmt"
22-
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2322
"os"
2423
"runtime"
2524
"strings"
2625
"time"
2726

27+
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
28+
2829
routev1 "github.com/openshift/api/route/v1"
2930
monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1"
3031
"github.com/spf13/pflag"

0 commit comments

Comments
 (0)