mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
fix: reconfigure WireGuard peers when listed >=1 machines in cluster store (fixes #155)
This commit is contained in:
@@ -79,7 +79,7 @@ func (n *WireGuardNetwork) Configure(config Config) error {
|
||||
if err := n.configureDevice(config); err != nil {
|
||||
return err
|
||||
}
|
||||
slog.Info("Configured WireGuard interface.", "name", n.link.Attrs().Name)
|
||||
slog.Info("Configured WireGuard interface.", "name", n.link.Attrs().Name, "peers", len(n.peers))
|
||||
|
||||
managementPrefix, err := addrToSingleIPPrefix(config.ManagementIP)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user