mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-12 01:23:56 +09:00
Fixed linting
This commit is contained in:
1 parent
ab61c87701
commit
8eb7d47072
2 files changed
+8
-2
No files matched your search
@@ -135,7 +135,10 @@ func (h *Headscale) expireEphemeralNodesWorker() {
|
||||
if err != nil {
|
||||
log.Error().Err(err).Str("machine", m.Name).Msg("🤮 Cannot delete ephemeral machine from the database")
|
||||
}
|
||||
h.notifyChangesToPeers(&m)
|
||||
err = h.notifyChangesToPeers(&m)
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+4
-1
@@ -169,7 +169,10 @@ func (h *Headscale) checkForNamespacesPendingUpdates() {
|
||||
continue
|
||||
}
|
||||
for _, m := range *machines {
|
||||
h.notifyChangesToPeers(&m)
|
||||
err = h.notifyChangesToPeers(&m)
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
}
|
||||
}
|
||||
newV, err := h.getValue("namespaces_pending_updates")
|
||||
|
||||
Reference in new issue
Block a user