Skip to content

Commit

Permalink
Remove hardcoded queue value in API
Browse files Browse the repository at this point in the history
  • Loading branch information
Mtze committed Sep 22, 2023
1 parent 20c8b1f commit 40236a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HadesAPI/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func main() {
var err error
rabbitmqURL := fmt.Sprintf("amqp://%s:%s@%s/", cfg.RabbitMQConfig.User, cfg.RabbitMQConfig.Password, cfg.RabbitMQConfig.Url)
log.Debug("Connecting to RabbitMQ: ", rabbitmqURL)
BuildQueue, err = queue.Init("builds", "amqp://admin:admin@localhost:5672/")
BuildQueue, err = queue.Init("builds", rabbitmqURL)
if err != nil {
log.Panic(err)
}
Expand Down

0 comments on commit 40236a9

Please sign in to comment.