Skip to content

Commit 0d20ea2

Browse files
Emyrkpull[bot]
authored andcommitted
chore: Fix column name in proxy ls command (coder#7450)
1 parent b2a1585 commit 0d20ea2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codersdk/workspaceproxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type WorkspaceProxy struct {
6060
// Status is the latest status check of the proxy. This will be empty for deleted
6161
// proxies. This value can be used to determine if a workspace proxy is healthy
6262
// and ready to use.
63-
Status WorkspaceProxyStatus `json:"status,omitempty" table:"status,recursive"`
63+
Status WorkspaceProxyStatus `json:"status,omitempty" table:"proxy,recursive"`
6464
}
6565

6666
type CreateWorkspaceProxyRequest struct {

enterprise/cli/workspaceproxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func (r *RootCmd) createProxy() *clibase.Cmd {
151151

152152
func (r *RootCmd) listProxies() *clibase.Cmd {
153153
formatter := cliui.NewOutputFormatter(
154-
cliui.TableFormat([]codersdk.WorkspaceProxy{}, []string{"name", "url", "status status"}),
154+
cliui.TableFormat([]codersdk.WorkspaceProxy{}, []string{"name", "url", "proxy status"}),
155155
cliui.JSONFormat(),
156156
cliui.ChangeFormatterData(cliui.TextFormat(), func(data any) (any, error) {
157157
resp, ok := data.([]codersdk.WorkspaceProxy)

0 commit comments

Comments
 (0)