Solve the remaining compilation errors and replace SSLMode with PgSSLMode

This commit is contained in:
ionutboangiu
2022-07-12 11:51:53 +03:00
committed by Dan Christian Bogos
parent aaea87eb33
commit 62e878574e
16 changed files with 91 additions and 348 deletions

View File

@@ -48,7 +48,7 @@ func TestNewSQLeUrl(t *testing.T) {
cgrCfg := config.NewDefaultCGRConfig()
cgrCfg.EEsCfg().Exporters[0].Opts.SQLTableName = utils.StringPointer("expTable")
cgrCfg.EEsCfg().Exporters[0].Opts.SQLDBName = utils.StringPointer("postgres")
cgrCfg.EEsCfg().Exporters[0].Opts.SSLMode = utils.StringPointer("test")
cgrCfg.EEsCfg().Exporters[0].Opts.PgSSLMode = utils.StringPointer("test")
sqlEe := &SQLEe{
cfg: cgrCfg.EEsCfg().Exporters[0],
reqs: newConcReq(0),