mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-30 02:43:05 +00:00
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()
|
h.setLastStateChangeToNow()
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue