diff --git a/.travis.yml b/.travis.yml index 156c1dd..c0e6353 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: go go: - - 1.8 - - 1.9 + - 1.10.x + - 1.11.x script: - make test diff --git a/ledis/replication.go b/ledis/replication.go index b09bdb5..2d0c976 100644 --- a/ledis/replication.go +++ b/ledis/replication.go @@ -38,7 +38,7 @@ func (l *Ledis) handleReplication() error { for { if err = l.r.NextNeedCommitLog(rl); err != nil { 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 }