mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
disable online map by default for now
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
78268d78a0
commit
a1a3ff4ba8
1 changed files with 4 additions and 4 deletions
|
@ -535,10 +535,10 @@ func (m *Mapper) baseMapResponse(machine *types.Machine) tailcfg.MapResponse {
|
|||
ControlTime: &now,
|
||||
}
|
||||
|
||||
online, err := m.db.ListOnlineMachines(machine)
|
||||
if err == nil {
|
||||
resp.OnlineChange = online
|
||||
}
|
||||
// online, err := m.db.ListOnlineMachines(machine)
|
||||
// if err == nil {
|
||||
// resp.OnlineChange = online
|
||||
// }
|
||||
|
||||
return resp
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue