forked from mirror/ledisdb
Bump Go versions (#358)
This commit is contained in:
parent
d2af45e3fb
commit
becf5f38d3
|
@ -1,7 +1,7 @@
|
||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- 1.8
|
- 1.10.x
|
||||||
- 1.9
|
- 1.11.x
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make test
|
- make test
|
||||||
|
|
|
@ -38,7 +38,7 @@ func (l *Ledis) handleReplication() error {
|
||||||
for {
|
for {
|
||||||
if err = l.r.NextNeedCommitLog(rl); err != nil {
|
if err = l.r.NextNeedCommitLog(rl); err != nil {
|
||||||
if err != rpl.ErrNoBehindLog {
|
if err != rpl.ErrNoBehindLog {
|
||||||
log.Errorf("get next commit log err, %s", err.Error)
|
log.Errorf("get next commit log err, %s", err.Error())
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue