mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
mvcc: go style err check (#11419)
This commit is contained in:
parent
d4d7ad3908
commit
c5887cdc49
@ -295,7 +295,7 @@ func (s *store) compact(trace *traceutil.Trace, rev int64) (<-chan struct{}, err
|
||||
|
||||
func (s *store) compactLockfree(rev int64) (<-chan struct{}, error) {
|
||||
ch, err := s.updateCompactRev(rev)
|
||||
if nil != err {
|
||||
if err != nil {
|
||||
return ch, err
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user