From 934ca7a2f3b29e84fd040b0c9566c03f43d9a4b5 Mon Sep 17 00:00:00 2001 From: Mahad Zaryab Date: Thu, 5 Dec 2024 19:57:50 -0500 Subject: [PATCH] Change Return Type of GetStorageFactoryV2 Signed-off-by: Mahad Zaryab --- cmd/jaeger/internal/extension/jaegerstorage/extension.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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