fix: GetMaster mutex unlock
This commit is contained in:
@@ -18,8 +18,8 @@ var (
|
||||
|
||||
func GetMaster() map[string]any {
|
||||
mu.RLock()
|
||||
defer mu.RUnlock()
|
||||
if cache != nil {
|
||||
mu.RUnlock()
|
||||
return cache
|
||||
}
|
||||
mu.RUnlock()
|
||||
|
||||
Reference in New Issue
Block a user