mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-24 08:47:49 +00: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)
|
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 {
|
func (h *Headscale) RenameMachine(machine *Machine, newName string) error {
|
||||||
err := CheckForFQDNRules(
|
err := CheckForFQDNRules(
|
||||||
newName,
|
newName,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user