Skip to content

Commit

Permalink
Fix code copied from gogo using a different proto import (#9009)
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai authored May 15, 2020
1 parent 0874e27 commit 97f0d0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion physical/raft/fsm.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"time"

metrics "github.com/armon/go-metrics"
proto "github.com/golang/protobuf/proto"
"github.com/golang/protobuf/proto"
"github.com/hashicorp/errwrap"
log "github.com/hashicorp/go-hclog"
"github.com/hashicorp/go-raftchunking"
Expand Down
2 changes: 1 addition & 1 deletion physical/raft/io.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ package raft
import (
"io"

"google.golang.org/protobuf/proto"
"github.com/golang/protobuf/proto"
)

type Writer interface {
Expand Down
2 changes: 1 addition & 1 deletion physical/raft/varint.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
"errors"
"io"

"google.golang.org/protobuf/proto"
"github.com/golang/protobuf/proto"
)

var (
Expand Down

0 comments on commit 97f0d0b

Please sign in to comment.