Skip to content

Commit

Permalink
disable online map by default for now
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Dalby <[email protected]>
  • Loading branch information
kradalby committed Jul 17, 2023
1 parent c1e93d9 commit d38aca0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hscontrol/mapper/mapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -515,10 +515,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
}

0 comments on commit d38aca0

Please sign in to comment.