mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	Fix comment
This commit is contained in:
		
							parent
							
								
									79704dc9b0
								
							
						
					
					
						commit
						7ef8cd881c
					
				@ -378,7 +378,8 @@ func (h *Headscale) ExpireMachine(machine *Machine) {
 | 
			
		||||
	h.db.Save(machine)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// RenameMachine takes a Machine struct and sets the expire field to now.
 | 
			
		||||
// RenameMachine takes a Machine struct and a new GivenName for the machines
 | 
			
		||||
// and renames it.
 | 
			
		||||
func (h *Headscale) RenameMachine(machine *Machine, newName string) error {
 | 
			
		||||
	err := CheckForFQDNRules(
 | 
			
		||||
		newName,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user