From 578f9e83d7d6892092a017b980fd651ce7e30593 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sun, 17 Dec 2023 19:37:08 +0100 Subject: [PATCH] cmd/tools/mock_publisher.go: fix correct imports. --- cmd/tools/mock_publisher.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/tools/mock_publisher.go b/cmd/tools/mock_publisher.go index 4a335c1..7dcb05d 100644 --- a/cmd/tools/mock_publisher.go +++ b/cmd/tools/mock_publisher.go @@ -10,6 +10,7 @@ import ( "github.com/eosswedenorg/thalos/api/message" _ "github.com/eosswedenorg/thalos/api/message/json" api_redis "github.com/eosswedenorg/thalos/api/redis" + redis_driver "github.com/eosswedenorg/thalos/app/driver/redis" "github.com/redis/go-redis/v9" ) @@ -47,7 +48,7 @@ var MockPublisherCmd = &cli.Command{ Prefix: ctx.String("redis-prefix"), ChainID: ctx.String("chain_id"), } - publisher := api_redis.NewPublisher(context.Background(), rdb, ns) + publisher := redis_driver.NewPublisher(context.Background(), rdb, ns) msg := message.ActionTrace{ TxID: "401e8a7e5deb18a2a69fc6559f49509a155f4355c85efb69c1c1fab5b60ee532",