Fixed linting

This commit is contained in:
Juan Font
2021-08-12 21:57:20 +02:00
parent ab61c87701
commit 8eb7d47072
2 changed files with 8 additions and 2 deletions

View File

@@ -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")