Minor linting fixes
This commit is contained in:
parent
2afba0233b
commit
6e890afc5f
2 changed files with 3 additions and 0 deletions
|
@ -1053,6 +1053,7 @@ func (h *Headscale) EnableRoutes(machine *Machine, routeStrs ...string) error {
|
|||
}
|
||||
|
||||
h.setLastStateChangeToNow()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue