mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
fix for amqp URL
This commit is contained in:
parent
4945d6ee85
commit
d29a8f30f7
1 changed files with 1 additions and 1 deletions
2
start.go
2
start.go
|
@ -209,7 +209,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// create amqp URL based on username, password and host
|
// create amqp URL based on username, password and host
|
||||||
amqpurl := amqpuser + ":" + amqppass + "@" + amqphost
|
amqpurl := "amqp://" + amqpuser + ":" + amqppass + "@" + amqphost
|
||||||
err = connectAMQP(amqpurl, api)
|
err = connectAMQP(amqpurl, api)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|
Loading…
Add table
Reference in a new issue