summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.go b/config.go
index 7be4a67..0274fcf 100644
--- a/config.go
+++ b/config.go
@@ -16,7 +16,7 @@ import (
// writes out the cluster information it seperate files
// to make it humanly possible to hand edit things as needed
-func (c *NewCluster) ConfigSave() error {
+func (c *Cluster) ConfigSave() error {
// try to backup the current cluster config files
if err := backupConfig(); err != nil {
return err
@@ -66,7 +66,7 @@ func (c *NewCluster) ConfigSave() error {
return nil
}
-func (c *NewCluster) ConfigLoad() error {
+func (c *Cluster) ConfigLoad() error {
if c == nil {
return errors.New("It's not safe to run ConfigLoad() on a nil cluster")
}
@@ -176,7 +176,7 @@ func ConfigWriteTEXT(a any, filename string) error {
return nil
}
-func (c *NewCluster) configWriteDroplets() error {
+func (c *Cluster) configWriteDroplets() error {
fullname := filepath.Join(os.Getenv("VIRTIGO_HOME"), "droplets.new.text")
cfgfile, err := os.OpenFile(fullname, os.O_RDWR|os.O_CREATE, 0666)
defer cfgfile.Close()