Postgres: Config diagnostics / logging update (#105666)

* config diagnostics update

* update tests

* fix typo
This commit is contained in:
Sriram
2025-05-22 08:27:36 +01:00
committed by GitHub
parent d692bce405
commit a8e87fc674
6 changed files with 18 additions and 17 deletions
@@ -229,7 +229,7 @@ func validateCertFilePaths(rootCert, clientCert, clientKey string) error {
return err
}
if !exists {
return fmt.Errorf("certificate file %q doesn't exist", fpath)
return sqleng.ErrCertFileNotExist
}
}
return nil