minor
This commit is contained in:
parent
088a2f6515
commit
58790a760d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue