We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f6440d commit 38d74c5Copy full SHA for 38d74c5
state/mongo/db.go
@@ -2,7 +2,6 @@ package mongostate
2
3
import (
4
"context"
5
- "fmt"
6
7
"github.com/demophoon/shrls/pkg/config"
8
@@ -30,7 +29,6 @@ func (s *MongoDBState) init(conn string) error {
30
29
}
31
32
func New(c config.Config) *MongoDBState {
33
- log.Debugf(fmt.Sprintf("Config db: %v", c))
34
state := &MongoDBState{}
35
if c.StateBackend.Mongo == nil {
36
log.Fatal("Couldn't initialize MongoDBState backend. MongoConnectionString not defined.")
0 commit comments