Browse Source

jpictl: update all hosts files on jpictl write

Signed-off-by: Alejandro Mery <amery@jpi.io>
pull/20/head
Alejandro Mery 10 months ago
parent
commit
1c199ed923
  1. 1
      pkg/cluster/sync.go

1
pkg/cluster/sync.go

@ -5,6 +5,7 @@ func (m *Cluster) SyncAll() error {
for _, fn := range []func() error{
m.SyncAllWireguard,
m.SyncAllCeph,
m.WriteHosts,
} {
if err := fn(); err != nil {
return err

Loading…
Cancel
Save