Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
v.khaverko committed Nov 15, 2023
1 parent 154cb3a commit 2134797
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions reapers/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ func (e *EndpointReaper) Run(ctx context.Context) (<-chan bool, error) {
if events.Err != nil {
if _, ok := err.(*json.SyntaxError); ok {
zap.L().Debug("Got incorrect event from nomad", zap.Error(events.Err))
continue
} else {
zap.L().Debug("Got error message from node event channel", zap.Error(events.Err))
failChan <- true
return
}
zap.L().Debug("Got error message from node event channel", zap.Error(events.Err))
failChan <- true
return
}

zap.L().Debug("Got events from Allocation topic. Handling...", zap.Int("event-count", len(events.Events)))
Expand Down

0 comments on commit 2134797

Please sign in to comment.