From be0f943ecbf203dc1c8ec56cb0f8252019792cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Pi=C3=B1a?= Date: Mon, 8 Feb 2021 15:10:03 -0800 Subject: [PATCH] Update PeerInfo --- jsm.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jsm.go b/jsm.go index 75c66b237..50041de2d 100644 --- a/jsm.go +++ b/jsm.go @@ -406,7 +406,9 @@ type ClusterInfo struct { type PeerInfo struct { Name string `json:"name"` Current bool `json:"current"` + Offline bool `json:"offline,omitempty"` Active time.Duration `json:"active"` + Lag uint64 `json:"lag,omitempty"` } // UpdateStream updates a Stream.