cleanup old example
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
20e958559e
commit
6337988092
|
@ -2,8 +2,6 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
|
||||||
"log"
|
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
pb "go.wit.com/lib/protobuf/virtbuf"
|
pb "go.wit.com/lib/protobuf/virtbuf"
|
||||||
|
@ -16,11 +14,6 @@ import (
|
||||||
func main() {
|
func main() {
|
||||||
TestWriteCluster()
|
TestWriteCluster()
|
||||||
|
|
||||||
_, err := ioutil.ReadFile("/tmp/testing4.protobuf")
|
|
||||||
if err != nil {
|
|
||||||
log.Fatalln("Error reading file:", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
var c *pb.NewCluster
|
var c *pb.NewCluster
|
||||||
c = pb.InitCluster()
|
c = pb.InitCluster()
|
||||||
|
|
||||||
|
|
1
human.go
1
human.go
|
@ -105,7 +105,6 @@ func FormatDuration(d time.Duration) string {
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func (d *Droplet) SprintHeader() string {
|
func (d *Droplet) SprintHeader() string {
|
||||||
header := fmt.Sprintf("%-3.3s %-9.9s %-20.20s", d.Current.State, d.Current.Hypervisor, d.Hostname)
|
header := fmt.Sprintf("%-3.3s %-9.9s %-20.20s", d.Current.State, d.Current.Hypervisor, d.Hostname)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue