Skip to content
Snippets Groups Projects
Commit f95e2b98 authored by André Sterba's avatar André Sterba
Browse files

Fix lint errors

parent d5675f44
No related branches found
No related tags found
1 merge request!362Update go dependencies
Pipeline #110693 passed
This commit is part of merge request !362. Comments created here will be created in the context of that merge request.
package eventservice
import (
"context"
"encoding/json"
"code.fbi.h-da.de/danet/gosdn/controller/config"
......@@ -61,7 +62,8 @@ func (e *EventService) PublishEvent(topic string, event event.Event) error {
return &errors.ErrCouldNotMarshall{Identifier: topic + " " + event.EntityID.String(), Type: event.Type, Err: err}
}
err = e.channel.Publish(
err = e.channel.PublishWithContext(
context.TODO(),
"", // exchange
q.Name, // routing key
false, // mandatory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment