summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/main.go b/main.go
index 19c684f..ae7069c 100644
--- a/main.go
+++ b/main.go
@@ -23,7 +23,6 @@ import (
"github.com/digitalocean/go-qemu/hypervisor"
"go.wit.com/dev/alexflint/arg"
- pb "go.wit.com/lib/protobuf/virtbuf"
"go.wit.com/log"
)
@@ -48,25 +47,6 @@ func main() {
os.Exit(0)
}
- me.cluster = new(pb.Cluster)
- if err := me.cluster.ConfigLoad(); err != nil {
- log.Info("config file error:", err)
- os.Exit(0)
- }
-
- for i, e := range me.cluster.Events {
- log.Info("Event", i, e)
- }
- for i, d := range me.cluster.Droplets {
- log.Info("Event", i, d.Hostname)
- }
-
- if argv.Start != "" {
- d := me.cluster.FindDroplet(argv.Start)
- newStart(argv.Start, d)
- os.Exit(0)
- }
-
log.DaemonMode(true)
// fmt.Printf("\nConnecting to %s://%s\n", *network, *address)