Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1aac820

Browse files
authored
chore: Fix column name in proxy ls command (#7450)
1 parent3931a6c commit1aac820

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-
StatusWorkspaceProxyStatus`json:"status,omitempty" table:"status,recursive"`
63+
StatusWorkspaceProxyStatus`json:"status,omitempty" table:"proxy,recursive"`
6464
}
6565

6666
typeCreateWorkspaceProxyRequeststruct {

‎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(dataany) (any,error) {
157157
resp,ok:=data.([]codersdk.WorkspaceProxy)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp