Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <[email protected]>
  • Loading branch information
pavolloffay committed Feb 9, 2022
1 parent 0b2b8ac commit 4af923d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/metrics/instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"

v1 "github.com/jaegertracing/jaeger-operator/apis/v1"
"github.com/jaegertracing/jaeger-operator/pkg/storage"
)

const metricPrefix = "jaeger_operator_instances"
Expand Down Expand Up @@ -125,7 +124,7 @@ func (i *instancesMetric) Setup(ctx context.Context) error {
"Number of instances using autoprovisioning",
"type",
func(jaeger v1.Jaeger) string {
if storage.ShouldInjectElasticsearchConfiguration(jaeger.Spec.Storage) {
if v1.ShouldInjectOpenShiftElasticsearchConfiguration(jaeger.Spec.Storage) {
return "elasticsearch"
}
return ""
Expand Down

0 comments on commit 4af923d

Please sign in to comment.