Skip to content

Commit d5f8141

Browse files
committed
update JSON tags for WorkspaceName and AgentName in externalAgent struct
1 parent 4ffad06 commit d5f8141

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

enterprise/cli/externalworkspaces.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import (
1616
)
1717

1818
type externalAgent struct {
19-
WorkspaceName string `json:"-"`
20-
AgentName string `json:"-"`
19+
WorkspaceName string `json:"workspace_name"`
20+
AgentName string `json:"agent_name"`
2121
AuthType string `json:"auth_type"`
2222
AuthToken string `json:"auth_token"`
2323
InitScript string `json:"init_script"`

0 commit comments

Comments
 (0)