Skip to content

Commit

Permalink
Return IsActive error vs log and continue
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Wislang <aaron.wislang@microsoft.com>
  • Loading branch information
asw101 committed Jan 25, 2022
1 parent 08b0509 commit b292728
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scaler/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ func (e *impl) StreamIsActive(
if err != nil {
e.lggr.Error(
err,
"error getting active status in stream, continuing",
"error getting active status in stream",
)
continue
return err
}
server.Send(&externalscaler.IsActiveResponse{
Result: active.Result,
Expand Down

0 comments on commit b292728

Please sign in to comment.