Skip to content

Commit

Permalink
fix: table header
Browse files Browse the repository at this point in the history
  • Loading branch information
b- committed Dec 16, 2023
1 parent 37f816c commit d5162d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package list
import (
"fmt"

"github.com/perchnet/gomox/util"
"github.com/jedib0t/go-pretty/v6/table"
"github.com/luthermonson/go-proxmox"
"github.com/perchnet/gomox/util"
"github.com/urfave/cli/v2"
)

Expand Down Expand Up @@ -56,7 +56,7 @@ func list(c *cli.Context) error {
// simple table with zero customizations
tw := table.NewWriter()
// append a header row
tw.AppendHeader(table.Row{"VMID", "Name", "Type", "Status", "Mem (MB)", "BootDisk (GB)", "PID"})
tw.AppendHeader(table.Row{"VMID", "Name", "Status", "Mem (MB)", "BootDisk (GB)", "PID"})
// append some data rows

for _, vm := range rsList {
Expand Down

0 comments on commit d5162d5

Please sign in to comment.