Skip to content

Commit

Permalink
[IMPROVED] Remove unnecessary error handling (#1387)
Browse files Browse the repository at this point in the history
Error handling is repeated twice. this commit omits one of them
  • Loading branch information
samanebi committed Sep 4, 2023
1 parent 3bf54c2 commit 9153b83
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions jetstream/jetstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -721,9 +721,6 @@ func (s *streamLister) streamInfos(ctx context.Context, streamsReq streamsReques
if err != nil {
return nil, err
}
if err != nil {
return nil, err
}

slSubj := apiSubj(s.js.apiPrefix, apiStreamListT)
var resp streamListResponse
Expand Down

0 comments on commit 9153b83

Please sign in to comment.