Skip to content

Commit

Permalink
driver: don't log DSN (#1593)
Browse files Browse the repository at this point in the history
  • Loading branch information
MDrollette authored and aeneasr committed Oct 4, 2019
1 parent 31752ab commit f60c724
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions driver/registry.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package driver

import (
"fmt"

"github.com/pkg/errors"
"github.com/sirupsen/logrus"

Expand Down Expand Up @@ -58,7 +56,6 @@ func MustNewRegistry(c configuration.Provider) Registry {
}

func NewRegistry(c configuration.Provider) (Registry, error) {
fmt.Print("Got dsn: ", c.DSN())
driver, err := dbal.GetDriverFor(c.DSN())
if err != nil {
return nil, errors.WithStack(err)
Expand Down

0 comments on commit f60c724

Please sign in to comment.