Browse Source

Merge pull request 'zones: fix PruneWireguardConfig recursion' (#1)

Reviewed-on: #1
pull/4/head v0.4.12
Alejandro Mery 1 year ago
parent
commit
fb82a7f358
  1. 2
      pkg/zones/wireguard.go

2
pkg/zones/wireguard.go

@ -45,7 +45,7 @@ func pruneWireguardConfig(m MachineIterator, ring int) error {
var err error
m.ForEachMachine(func(p *Machine) bool {
err = p.zone.PruneWireguardConfig(ring)
err = p.PruneWireguardConfig(ring)
if os.IsNotExist(err) {
// ignore
err = nil

Loading…
Cancel
Save