continue refactor/purge
This commit is contained in:
@@ -22,10 +22,10 @@ import (
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/spf13/viper"
|
||||
|
||||
"github.com/vulcanize/ipfs-blockchain-watcher/pkg/config"
|
||||
"github.com/vulcanize/ipfs-blockchain-watcher/pkg/postgres"
|
||||
)
|
||||
|
||||
var DBConfig config.Database
|
||||
var DBConfig postgres.Config
|
||||
|
||||
func init() {
|
||||
setTestConfig()
|
||||
@@ -53,7 +53,7 @@ func setTestConfig() {
|
||||
port := vip.GetInt("database.port")
|
||||
name := vip.GetString("database.name")
|
||||
|
||||
DBConfig = config.Database{
|
||||
DBConfig = postgres.Config{
|
||||
Hostname: hn,
|
||||
Name: name,
|
||||
Port: port,
|
||||
|
||||
Reference in New Issue
Block a user