Skip to content

Commit

Permalink
Change return to break
Browse files Browse the repository at this point in the history
  • Loading branch information
zbud-msft committed Nov 15, 2022
1 parent 5c43eea commit e2b168c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonic_data_client/events_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ func get_events(evtc *EventClient) {
JsonIetfVal: jv,
}}
if err := send_event(evtc, evtTv, evt.Publish_epoch_ms); err != nil {
return
break
}
} else {
log.V(1).Infof("Invalid event string: %v", evt.Event_str)
Expand Down

0 comments on commit e2b168c

Please sign in to comment.