mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
add minor log
This commit is contained in:
@@ -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("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 {
|
if err = nc.configurePeers(machines); err != nil {
|
||||||
slog.Error("Failed to configure peers.", "err", err)
|
slog.Error("Failed to configure peers.", "err", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user