diff --git a/cmd/jaeger/internal/extension/jaegerstorage/extension.go b/cmd/jaeger/internal/extension/jaegerstorage/extension.go index 7ac99e15a29..437f658c0f5 100644 --- a/cmd/jaeger/internal/extension/jaegerstorage/extension.go +++ b/cmd/jaeger/internal/extension/jaegerstorage/extension.go @@ -22,7 +22,6 @@ import ( "github.com/jaegertracing/jaeger/plugin/storage/memory" "github.com/jaegertracing/jaeger/storage" "github.com/jaegertracing/jaeger/storage_v2/factoryadapter" - "github.com/jaegertracing/jaeger/storage_v2/tracestore" ) var _ Extension = (*storageExt)(nil) @@ -74,7 +73,7 @@ func GetMetricStorageFactory(name string, host component.Host) (storage.MetricSt return mf, nil } -func GetStorageFactoryV2(name string, host component.Host) (tracestore.Factory, error) { +func GetStorageFactoryV2(name string, host component.Host) (*factoryadapter.Factory, error) { f, err := GetStorageFactory(name, host) if err != nil { return nil, err