Skip to content

Commit ebfb528

Browse files
committed
feat(verifier): update config.go
1 parent 4201114 commit ebfb528

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎services/verifier/config/config.go‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,6 @@ func (c Config) Validate() error {
122122
if c.Service.Mock && !c.Service.DevMode {
123123
return errors.New("TOKEN_MOCK=true requires DEV_MODE=true")
124124
}
125-
if c.PGDB.Host != "" && c.PGDB.SSLMode == "disable" && !c.Service.DevMode {
126-
return errors.New("CLIENT_PGSQL_SSLMODE=disable requires DEV_MODE=true")
127-
}
128125
if !c.Service.Mock {
129126
if c.Service.FortanixEndpoint == "" {
130127
return errors.New("required env var not set: FORTANIX_ENDPOINT")

0 commit comments

Comments
 (0)