File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ type PostgresConfig struct {
3939 RequireSSL bool `long:"requiressl" description:"Whether to require using SSL (mode: require) when connecting to the server."`
4040}
4141
42- // DSN returns the dns to connect to the database.
42+ // DSN returns the data source name used to connect to the database.
4343func (s * PostgresConfig ) DSN (hidePassword bool ) string {
4444 var sslMode = "disable"
4545 if s .RequireSSL {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const (
2424 ProtocolVersionSegwitLoopIn ProtocolVersion = 2
2525
2626 // ProtocolVersionPreimagePush indicates that the client will push loop
27- // out preimages to the sever to speed up claim.
27+ // out preimages to the server to speed up claim.
2828 ProtocolVersionPreimagePush ProtocolVersion = 3
2929
3030 // ProtocolVersionUserExpiryLoopOut indicates that the client will
You can’t perform that action at this time.
0 commit comments