mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
Refactor code
This commit is contained in:
@@ -1790,10 +1790,8 @@ func gatherSourceMirrorSubjects(subjects []string, cfg *StreamConfig, acc *Accou
|
||||
func (a *Account) streamSourceSubjects(ss *StreamSource, seen map[string]bool) (subjects []string, hasExt bool) {
|
||||
if ss == nil {
|
||||
return nil, false
|
||||
} else {
|
||||
if ss.External != nil {
|
||||
return nil, true
|
||||
}
|
||||
} else if ss.External != nil {
|
||||
return nil, true
|
||||
}
|
||||
|
||||
s, js, _ := a.getJetStreamFromAccount()
|
||||
|
||||
Reference in New Issue
Block a user