Skip to content

Commit

Permalink
Update config.go to match spacing format
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbricepalo authored Nov 28, 2024
1 parent f759a9f commit cca043e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/lib/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ type postgresConfigCommon struct {
}

func (c postgresConfigCommon) DSN() string {
return fmt.Sprintf(
"postgres://%s:%s@%s:%d/%s?sslmode=disable",
url.QueryEscape(c.User),
url.QueryEscape(c.Password),
c.Host,
c.Port,
url.QueryEscape(c.Database),
)
return fmt.Sprintf(
"postgres://%s:%s@%s:%d/%s?sslmode=disable",
url.QueryEscape(c.User),
url.QueryEscape(c.Password),
c.Host,
c.Port,
url.QueryEscape(c.Database),
)
}

type carbonConfig struct {
Expand Down

0 comments on commit cca043e

Please sign in to comment.