mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 11:48:43 -07:00
Set incomplete error when cluster list fails
Signed-off-by: Matthias Hanel <mh@synadia.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user