Skip to content

Commit fcfe1f1

Browse files
authored
Revert backoff v4 -> v2 (#485)
1 parent 09f8033 commit fcfe1f1

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5-
## v6.2.0 - 2020-03-16
5+
## v6.2.1 - 2020-03-19
6+
7+
- Revert backoff v4 for gopath compatibility
8+
9+
## v6.2.0 - 2020-03-18
610

711
- Backoff v4
812
- Reworked cluster discovery

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
![RethinkDB-go Logo](https://raw.github.com/wiki/rethinkdb/rethinkdb-go/gopher-and-thinker-s.png "Golang Gopher and RethinkDB Thinker")
1010

11-
Current version: v6.2.0 (RethinkDB v2.4)
11+
Current version: v6.2.1 (RethinkDB v2.4)
1212

1313
Please note that this version of the driver only supports versions of RethinkDB using the v0.4 protocol (any versions of the driver older than RethinkDB 2.0 will not work).
1414

cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/hailocab/go-hostpool"
1313
"github.com/sirupsen/logrus"
1414
"golang.org/x/net/context"
15-
"gopkg.in/cenkalti/backoff.v4"
15+
"gopkg.in/cenkalti/backoff.v2"
1616
)
1717

1818
var errClusterClosed = errors.New("rethinkdb: cluster is closed")

go.mod

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ module gopkg.in/rethinkdb/rethinkdb-go.v6
33
require (
44
github.com/bitly/go-hostpool v0.1.0 // indirect
55
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect
6-
gopkg.in/cenkalti/backoff.v4 v4.0.0
76
github.com/golang/protobuf v1.3.4
87
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed
98
github.com/kr/pretty v0.1.0 // indirect
@@ -18,12 +17,10 @@ require (
1817
golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073
1918
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3
2019
gopkg.in/airbrake/gobrake.v2 v2.0.9 // indirect
20+
gopkg.in/cenkalti/backoff.v2 v2.2.1
2121
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f
2222
gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 // indirect
2323
gopkg.in/yaml.v2 v2.2.8 // indirect
2424
)
2525

26-
// gopath support
27-
replace gopkg.in/cenkalti/backoff.v4 v4.0.0 => github.com/cenkalti/backoff/v4 v4.0.0
28-
2926
go 1.14

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 h1:9zdDQZ7Thm29KFXgAX/+y
6262
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
6363
gopkg.in/airbrake/gobrake.v2 v2.0.9 h1:7z2uVWwn7oVeeugY1DtlPAy5H+KYgB1KeKTnqjNatLo=
6464
gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U=
65+
gopkg.in/cenkalti/backoff.v2 v2.2.1 h1:eJ9UAg01/HIHG987TwxvnzK2MgxXq97YY6rYDpY9aII=
66+
gopkg.in/cenkalti/backoff.v2 v2.2.1/go.mod h1:S0QdOvT2AlerfSBkp0O+dk+bbIMaNbEmVk876gPCthU=
6567
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
6668
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU=
6769
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

0 commit comments

Comments
 (0)