Fix comment

This commit is contained in:
Kristoffer Dalby 2022-04-24 21:10:50 +01:00
parent 79704dc9b0
commit 7ef8cd881c

View file

@ -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,