From 5e83c7ec791f0f310282fa0fbbaf5f948082da6c Mon Sep 17 00:00:00 2001 From: Loic Reyreaud Date: Thu, 5 Dec 2024 10:07:17 +0100 Subject: [PATCH] rename module Signed-off-by: Loic Reyreaud --- bench/bench.go | 2 +- go.mod | 2 +- raft-compat/prevote_test.go | 2 +- raft-compat/rolling_upgrade_test.go | 2 +- raft-compat/testcluster/cluster.go | 2 +- raft-compat/utils/test_utils.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bench/bench.go b/bench/bench.go index 270a7230..75d66241 100644 --- a/bench/bench.go +++ b/bench/bench.go @@ -11,7 +11,7 @@ package raftbench import ( "testing" - "github.com/hashicorp/raft" + "github.com/weaviate/raft" ) func FirstIndex(b *testing.B, store raft.LogStore) { diff --git a/go.mod b/go.mod index 7d35dd97..3e1a6662 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/hashicorp/raft +module github.com/weaviate/raft go 1.20 diff --git a/raft-compat/prevote_test.go b/raft-compat/prevote_test.go index e8d41d8a..c53d1c35 100644 --- a/raft-compat/prevote_test.go +++ b/raft-compat/prevote_test.go @@ -4,11 +4,11 @@ package raft_compat import ( - "github.com/hashicorp/raft" raftprevious "github.com/hashicorp/raft-previous-version" "github.com/hashicorp/raft/compat/testcluster" "github.com/hashicorp/raft/compat/utils" "github.com/stretchr/testify/require" + "github.com/weaviate/raft" "testing" "time" ) diff --git a/raft-compat/rolling_upgrade_test.go b/raft-compat/rolling_upgrade_test.go index f28c3cd2..6c36e231 100644 --- a/raft-compat/rolling_upgrade_test.go +++ b/raft-compat/rolling_upgrade_test.go @@ -5,11 +5,11 @@ package raft_compat import ( "fmt" - "github.com/hashicorp/raft" raftprevious "github.com/hashicorp/raft-previous-version" "github.com/hashicorp/raft/compat/testcluster" "github.com/hashicorp/raft/compat/utils" "github.com/stretchr/testify/require" + "github.com/weaviate/raft" "testing" "time" ) diff --git a/raft-compat/testcluster/cluster.go b/raft-compat/testcluster/cluster.go index 348c79cc..9cde9a8b 100644 --- a/raft-compat/testcluster/cluster.go +++ b/raft-compat/testcluster/cluster.go @@ -5,9 +5,9 @@ package testcluster import ( "fmt" - "github.com/hashicorp/raft" raftprevious "github.com/hashicorp/raft-previous-version" "github.com/stretchr/testify/require" + "github.com/weaviate/raft" "testing" "time" ) diff --git a/raft-compat/utils/test_utils.go b/raft-compat/utils/test_utils.go index 39d88333..eff2a70a 100644 --- a/raft-compat/utils/test_utils.go +++ b/raft-compat/utils/test_utils.go @@ -5,10 +5,10 @@ package utils import ( "fmt" - "github.com/hashicorp/raft" raftprevious "github.com/hashicorp/raft-previous-version" "github.com/hashicorp/raft/compat/testcluster" "github.com/stretchr/testify/require" + "github.com/weaviate/raft" "testing" "time" )