mirror of
https://github.com/coder/coder.git
synced 2025-07-23 21:32:07 +00:00
fix(coderd): pass block endpoints into servertailnet (#12149)
This commit is contained in:
@ -239,3 +239,11 @@ func (u *nodeUpdater) fillPeerDiagnostics(d *PeerDiagnostics) {
|
||||
d.PreferredDERP = u.preferredDERP
|
||||
d.SentNode = u.sentNode
|
||||
}
|
||||
|
||||
// getBlockEndpoints returns the value of the most recent setBlockEndpoints
|
||||
// call.
|
||||
func (u *nodeUpdater) getBlockEndpoints() bool {
|
||||
u.L.Lock()
|
||||
defer u.L.Unlock()
|
||||
return u.blockEndpoints
|
||||
}
|
||||
|
Reference in New Issue
Block a user