Cockroach Store bugfix (#1401)

This commit is contained in:
Jake Sanders
2020-03-24 17:16:38 +00:00
committed by GitHub
parent eb4d2ae6aa
commit 397a8638f4
2 changed files with 3 additions and 6 deletions

View File

@@ -10,7 +10,6 @@ import (
"time"
"github.com/lib/pq"
"github.com/micro/go-micro/v2/logger"
"github.com/micro/go-micro/v2/store"
"github.com/pkg/errors"
)
@@ -370,10 +369,8 @@ func NewStore(opts ...store.Option) store.Store {
// set the options
s.options = options
// configure the store
if err := s.configure(); err != nil {
logger.Fatal(err)
}
// best-effort configure the store
s.configure()
// return store
return s