From c374184335c8a36bfada449ce2392e63fc7df512 Mon Sep 17 00:00:00 2001 From: Ethan Dickson Date: Thu, 17 Oct 2024 12:52:24 +0000 Subject: [PATCH] fix: fix default wsproxy table columns --- enterprise/cli/workspaceproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enterprise/cli/workspaceproxy.go b/enterprise/cli/workspaceproxy.go index 992c37c5cdf35..4c1ca829b61c1 100644 --- a/enterprise/cli/workspaceproxy.go +++ b/enterprise/cli/workspaceproxy.go @@ -102,7 +102,7 @@ func (r *RootCmd) patchProxy() *serpent.Command { }), cliui.JSONFormat(), // Table formatter expects a slice, make a slice of one. - cliui.ChangeFormatterData(cliui.TableFormat([]codersdk.WorkspaceProxy{}, []string{"proxy name", "proxy url"}), + cliui.ChangeFormatterData(cliui.TableFormat([]codersdk.WorkspaceProxy{}, []string{"name", "url"}), func(data any) (any, error) { response, ok := data.(codersdk.WorkspaceProxy) if !ok {