Merge branch 'store_abort_close' of https://github.com/sreekanth-cb/bleve into store_abort_close
Syntax change for errcheck tool
This commit is contained in:
commit
e88ff3c60a
|
@ -178,7 +178,7 @@ func (s *Store) Close() error {
|
|||
if v, ok := s.config["mossAbortCloseEnabled"]; ok && v.(bool) == true {
|
||||
if msw, ok := s.llstore.(*mossStoreWrapper); ok {
|
||||
if s := msw.Actual(); s != nil {
|
||||
s.CloseEx(moss.StoreCloseExOptions{Abort: true})
|
||||
_ = s.CloseEx(moss.StoreCloseExOptions{Abort: true})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user