add minor log

This commit is contained in:
Pavel Sviderski
2024-10-04 18:46:52 +10:00
parent c80c75e4e1
commit 336bdf9f4b
+1
View File
@@ -172,6 +172,7 @@ func (nc *networkController) handleMachineChanges(ctx context.Context) error {
}
slog.Info("Subscribed to machine changes in the cluster to reconfigure network peers.")
slog.Info("Reconfiguring network peers with the current machines.", "machines", len(machines))
if err = nc.configurePeers(machines); err != nil {
slog.Error("Failed to configure peers.", "err", err)
}