cleanup old example

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-11-01 04:03:19 -05:00
parent 20e958559e
commit 6337988092
2 changed files with 0 additions and 8 deletions

View File

@ -2,8 +2,6 @@ package main
import (
"fmt"
"io/ioutil"
"log"
"os"
pb "go.wit.com/lib/protobuf/virtbuf"
@ -16,11 +14,6 @@ import (
func main() {
TestWriteCluster()
_, err := ioutil.ReadFile("/tmp/testing4.protobuf")
if err != nil {
log.Fatalln("Error reading file:", err)
}
var c *pb.NewCluster
c = pb.InitCluster()

View File

@ -105,7 +105,6 @@ func FormatDuration(d time.Duration) string {
return result
}
func (d *Droplet) SprintHeader() string {
header := fmt.Sprintf("%-3.3s %-9.9s %-20.20s", d.Current.State, d.Current.Hypervisor, d.Hostname)