Skip to content

Commit

Permalink
Supporting prod plugin (#1056)
Browse files Browse the repository at this point in the history
  • Loading branch information
KarnveerSGill authored May 21, 2024
1 parent cd112ba commit e3bddd9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion atrium/vestibulum/trcdb/factory/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,12 @@ func ProcessPluginEnvConfig(processFlowConfig trcvutils.ProcessFlowConfig,
}

go func(pec map[string]interface{}, l *log.Logger) {
pec["pluginName"] = "trc-vault-plugin"
if prod.IsProd() {
pec["pluginName"] = "trc-vault-plugin-prod"
} else {
pec["pluginName"] = "trc-vault-plugin"
}

flowErr := processFlowInit(pec, l)
if configCompleteChan != nil {
configCompleteChan <- true
Expand Down

0 comments on commit e3bddd9

Please sign in to comment.