diff --git a/pkg/monitoring/mimir/ingress/ingress.go b/pkg/monitoring/mimir/ingress/ingress.go index 6f6b31c5..aa85ecce 100644 --- a/pkg/monitoring/mimir/ingress/ingress.go +++ b/pkg/monitoring/mimir/ingress/ingress.go @@ -3,9 +3,10 @@ package ingress import ( "os/exec" - "github.com/giantswarm/observability-operator/pkg/monitoring" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + + "github.com/giantswarm/observability-operator/pkg/monitoring" ) const ( diff --git a/pkg/monitoring/mimir/service.go b/pkg/monitoring/mimir/service.go index 1cb3c2ca..7b8b7575 100644 --- a/pkg/monitoring/mimir/service.go +++ b/pkg/monitoring/mimir/service.go @@ -3,8 +3,6 @@ package mimir import ( "context" - "github.com/giantswarm/observability-operator/pkg/monitoring" - "github.com/giantswarm/observability-operator/pkg/monitoring/mimir/ingress" "github.com/go-logr/logr" "github.com/pkg/errors" corev1 "k8s.io/api/core/v1" @@ -12,6 +10,9 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" "sigs.k8s.io/controller-runtime/pkg/log" + + "github.com/giantswarm/observability-operator/pkg/monitoring" + "github.com/giantswarm/observability-operator/pkg/monitoring/mimir/ingress" ) type MimirService struct { diff --git a/pkg/monitoring/mimir/utils.go b/pkg/monitoring/mimir/utils.go index 44e49012..2240278f 100644 --- a/pkg/monitoring/mimir/utils.go +++ b/pkg/monitoring/mimir/utils.go @@ -4,10 +4,11 @@ import ( "context" "fmt" - "github.com/giantswarm/observability-operator/pkg/monitoring/prometheusagent" corev1 "k8s.io/api/core/v1" "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/client/config" + + "github.com/giantswarm/observability-operator/pkg/monitoring/prometheusagent" ) func GetMimirIngressPassword(ctx context.Context, mc string) (string, error) {