Fix comment
This commit is contained in:
parent
79704dc9b0
commit
7ef8cd881c
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue