Minor linting fixes

This commit is contained in:
Juan Font 2022-12-20 21:03:15 +00:00
parent 2afba0233b
commit 6e890afc5f
2 changed files with 3 additions and 0 deletions

View file

@ -1053,6 +1053,7 @@ func (h *Headscale) EnableRoutes(machine *Machine, routeStrs ...string) error {
}
h.setLastStateChangeToNow()
return nil
}

View file

@ -237,6 +237,7 @@ func (h *Headscale) handlePrimarySubnetFailover() error {
}
routesChanged = true
continue
}
}
@ -316,6 +317,7 @@ func (h *Headscale) handlePrimarySubnetFailover() error {
if routesChanged {
h.setLastStateChangeToNow()
}
return nil
}