Skip to content

Commit

Permalink
cmd/tools/mock_publisher.go: fix correct imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnx committed Dec 17, 2023
1 parent 41ab39d commit 578f9e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/tools/mock_publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 578f9e8

Please sign in to comment.