Skip to content

Commit

Permalink
fix(db): Fix Schema postgres ssl mode handling
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoura committed Sep 3, 2024
1 parent ce710f2 commit 0a2ccbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/node/startup/startup.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
// Validates the Node Database Schema Version
func ValidateSchema(config config.NodeConfig) error {
endpoint := config.PostgresEndpoint.Value
if config.PostgresSslMode {
if !config.PostgresSslMode {
endpoint += "?sslmode=disable"
}

Expand Down

0 comments on commit 0a2ccbc

Please sign in to comment.