jpictl: update all hosts files on jpictl write

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2023-09-11 18:39:37 +00:00
parent 5dc5c95aa1
commit 1c199ed923
+1
View File
@@ -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