mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 21:29:52 +05:00
only one s for postgres
This commit is contained in:
@@ -30,7 +30,7 @@ type PostgresStorage struct {
|
||||
}
|
||||
|
||||
func NewPostgresStorage(host, port, name, user, password string) (StorageGetter, error) {
|
||||
db, err := sql.Open("postgress", fmt.Sprintf("host=%s port=%s dbname=%s user=%s password=%s sslmode=disable", host, port, name, user, password))
|
||||
db, err := sql.Open("postgres", fmt.Sprintf("host=%s port=%s dbname=%s user=%s password=%s sslmode=disable", host, port, name, user, password))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user