mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
AMQP: next try to make access to headers work
This commit is contained in:
parent
9e23523598
commit
f4bcc49fbe
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ func processMessage(message amqp.Delivery) error {
|
|||
return fmt.Errorf("AMQP: Could not unmarshal message to JSON: %v err: %v", string(message.Body), err)
|
||||
}
|
||||
|
||||
payload.Status.UUID = new(string)
|
||||
//payload.Status.UUID = new(string)
|
||||
headers := amqp.Table(message.Headers)
|
||||
*payload.Status.UUID = fmt.Sprintf("%v", headers["uuid"])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue