Merge pull request #2725 from nats-io/consumer-list-err

Set incomplete error when cluster list fails
This commit is contained in:
Matthias Hanel
2021-12-02 13:20:41 -05:00
committed by GitHub

View File

@@ -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)