mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-21 10:27:30 +00:00
comment use of mutex
This commit is contained in:
@@ -16,10 +16,11 @@ import (
|
||||
)
|
||||
|
||||
type authorization struct {
|
||||
ts *tsnet.Server
|
||||
tag string
|
||||
peers *peers
|
||||
ts *tsnet.Server
|
||||
tag string
|
||||
|
||||
mu sync.Mutex
|
||||
peers *peers // protected by mu
|
||||
}
|
||||
|
||||
func (a *authorization) refresh(ctx context.Context) error {
|
||||
|
Reference in New Issue
Block a user