mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-11-04 10:01:05 +01: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
					
				@ -535,10 +535,10 @@ func (m *Mapper) baseMapResponse(machine *types.Machine) tailcfg.MapResponse {
 | 
				
			|||||||
		ControlTime: &now,
 | 
							ControlTime: &now,
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	online, err := m.db.ListOnlineMachines(machine)
 | 
						// online, err := m.db.ListOnlineMachines(machine)
 | 
				
			||||||
	if err == nil {
 | 
						// if err == nil {
 | 
				
			||||||
		resp.OnlineChange = online
 | 
						// 	resp.OnlineChange = online
 | 
				
			||||||
	}
 | 
						// }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return resp
 | 
						return resp
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user