mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #2901 from xiang90/fix_urlpick
rafthttp: move mu to the top in urlPicker struct
This commit is contained in:
commit
2b5f417113
@ -22,8 +22,8 @@ import (
|
||||
)
|
||||
|
||||
type urlPicker struct {
|
||||
mu sync.Mutex // guards urls and picked
|
||||
urls types.URLs
|
||||
mu sync.Mutex
|
||||
picked int
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user