Skip to content

Commit

Permalink
Fix linter error
Browse files Browse the repository at this point in the history
Signed-off-by: shivam <[email protected]>
  • Loading branch information
shivamkm07 committed Oct 21, 2022
1 parent 8533feb commit bbae625
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pubsub/mqtt/mqtt.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ func (m *mqttPubSub) startSubscription(ctx context.Context) error {
// onMessage returns the callback to be invoked when there's a new message from a topic
func (m *mqttPubSub) onMessage(ctx context.Context) func(client mqtt.Client, mqttMsg mqtt.Message) {
return func(client mqtt.Client, mqttMsg mqtt.Message) {

ack := false
defer func() {
// Do not send N/ACKs on retained messages
Expand Down

0 comments on commit bbae625

Please sign in to comment.