Skip to content

Commit

Permalink
fix remove db config from postgres startup log (#212)
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Choudhary <[email protected]>
  • Loading branch information
vishal-chdhry authored Oct 7, 2024
1 parent bd2b728 commit c0d75ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/db/new.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
)

func New(config *PostgresConfig) (api.Storage, error) {
klog.Infof("starting postgres db, config: %s", config.String())
klog.Infof("starting postgres db")
db, err := sql.Open("postgres", config.String())
if err != nil {
klog.Error("failed to open db", err.Error())
Expand Down

0 comments on commit c0d75ef

Please sign in to comment.