Browse Source

jpictl: update all hosts files on jpictl write

Signed-off-by: Alejandro Mery <amery@jpi.io>
pull/20/head
Alejandro Mery 1 year 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{ for _, fn := range []func() error{
m.SyncAllWireguard, m.SyncAllWireguard,
m.SyncAllCeph, m.SyncAllCeph,
m.WriteHosts,
} { } {
if err := fn(); err != nil { if err := fn(); err != nil {
return err return err

Loading…
Cancel
Save