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() h.setLastStateChangeToNow()
return nil return nil
} }

View file

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