From d5162d547e9d87d4c33053072865f59014057f26 Mon Sep 17 00:00:00 2001 From: bri <284789+b-@users.noreply.github.com> Date: Fri, 15 Dec 2023 22:40:03 -0500 Subject: [PATCH] fix: table header --- cmd/list/list.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/list/list.go b/cmd/list/list.go index ae153ac..92ddd29 100644 --- a/cmd/list/list.go +++ b/cmd/list/list.go @@ -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" ) @@ -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 {