From 03a64258537e501d784ce87056ba41de1fba2685 Mon Sep 17 00:00:00 2001 From: Paulin Todev Date: Tue, 3 Dec 2024 14:07:04 +0000 Subject: [PATCH] Fix lint issue and go mod tidy --- go.mod | 1 - internal/component/prometheus/operator/common/crdmanager.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/go.mod b/go.mod index d6e6c6079..747aac86d 100644 --- a/go.mod +++ b/go.mod @@ -112,7 +112,6 @@ require ( github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter v0.112.0 github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter v0.112.0 github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter v0.112.0 - github.com/open-telemetry/opentelemetry-collector-contrib/exporter/syslogexporter v0.112.0 github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.112.0 github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.112.0 github.com/open-telemetry/opentelemetry-collector-contrib/extension/headerssetterextension v0.112.0 diff --git a/internal/component/prometheus/operator/common/crdmanager.go b/internal/component/prometheus/operator/common/crdmanager.go index ceed50fb3..18e462c6b 100644 --- a/internal/component/prometheus/operator/common/crdmanager.go +++ b/internal/component/prometheus/operator/common/crdmanager.go @@ -9,8 +9,6 @@ import ( "sync" "time" - promk8s "github.com/prometheus/prometheus/discovery/kubernetes" - "github.com/go-kit/log" "github.com/grafana/ckit/shard" promopv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1"