Skip to content

Commit

Permalink
Merge pull request #2725 from nats-io/consumer-list-err
Browse files Browse the repository at this point in the history
Set incomplete error when cluster list fails
  • Loading branch information
matthiashanel authored Dec 2, 2021
2 parents 97c8214 + aa25a2f commit cd3838a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/jetstream_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -4127,6 +4127,7 @@ LOOP:
return
case <-notActive.C:
s.Warnf("Did not receive all consumer info results for %q", acc)
resp.Error = NewJSClusterIncompleteError()
break LOOP
case ci := <-rc:
resp.Consumers = append(resp.Consumers, ci)
Expand Down

0 comments on commit cd3838a

Please sign in to comment.