fomatting

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2021-06-10 10:04:41 -07:00
parent 4965a5c494
commit 637973a1c7

View File

@@ -585,7 +585,7 @@ func (s *Server) sendStatsz(subj string) {
if s.sys != nil {
m.Stats.ActiveServers += len(s.sys.servers)
}
// JetStream
// JetStream
if js := s.js; js != nil {
jStat := &JetStreamVarz{}
s.mu.Unlock()
@@ -609,6 +609,7 @@ func (s *Server) sendStatsz(subj string) {
m.Stats.JetStream = jStat
s.mu.Lock()
}
// Send message.
s.sendInternalMsg(subj, _EMPTY_, &m.Server, &m)
}