mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Log messages cleanup (#158)
This commit is contained in:
committed by
Seif Lotfy سيف لطفي
parent
4cbfb3ccfd
commit
34b4b25092
@@ -15,7 +15,7 @@ func New(dbURL string) (models.Datastore, error) {
|
||||
if err != nil {
|
||||
logrus.WithFields(logrus.Fields{"url": dbURL}).Fatal("bad DB URL")
|
||||
}
|
||||
logrus.WithFields(logrus.Fields{"db": u.Scheme}).Info("creating new datastore")
|
||||
logrus.WithFields(logrus.Fields{"db": u.Scheme}).Debug("creating new datastore")
|
||||
switch u.Scheme {
|
||||
case "bolt":
|
||||
return bolt.New(u)
|
||||
|
||||
Reference in New Issue
Block a user