This commit is contained in:
Jeff Carr 2025-02-15 12:17:08 -06:00
parent 088a2f6515
commit 58790a760d
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@ package zoopb
import (
"errors"
"fmt"
"os"
"path/filepath"
@ -15,6 +16,9 @@ import (
// writes out the cluster information it seperate files
// to make it humanly possible to hand edit things as needed
func (m *Machines) ConfigSave() error {
if m == nil {
return fmt.Errorf("ConfigSave() machines == n")
}
data, err := m.Marshal()
if err != nil {
log.Info("proto.Marshal() failed len", len(data), err)