fix missing unlock

This commit is contained in:
Alex
2025-02-07 01:57:37 -05:00
committed by Cuong Manh Le
parent 375844ff1a
commit 4b05b6da7b

View File

@@ -1049,6 +1049,7 @@ func (p *prog) performLeakingQuery(failedUpstreams map[string]*ctrld.UpstreamCon
p.um.mu.RUnlock()
continue
}
p.um.mu.RUnlock()
mainLog.Load().Debug().
Str("upstream", name).
Msg("checking upstream")