Skip to content

Commit 1aa9d4a

Browse files
committed
minor change
1 parent 0215476 commit 1aa9d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/migrate_valid.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func NewMigrator() *Migrator {
154154
newpublisher := newkafka.GetInstance()
155155

156156
// psql cursor for new kafka
157-
psql, err := storage.NewPostgresConnector(config.Cfg.Storage.Main.Postgres)
157+
psql, err := storage.NewPostgresConnector(config.Cfg.Storage.Staging.Postgres)
158158
if err != nil {
159159
log.Fatal().Err(err).Msg("Failed to initialize psql cursor")
160160
}

0 commit comments

Comments
 (0)