mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
chore: make owner_name and owner_username consistent (#18081)
We've been using owner_name inconsistently as username. So this PR fixes it by making the attribute naming more consistent.
This commit is contained in:
@ -104,10 +104,10 @@ type PostMetadataRequestDeprecated = codersdk.WorkspaceAgentMetadataResult
|
||||
type Manifest struct {
|
||||
AgentID uuid.UUID `json:"agent_id"`
|
||||
AgentName string `json:"agent_name"`
|
||||
// OwnerName and WorkspaceID are used by an open-source user to identify the workspace.
|
||||
// OwnerUsername and WorkspaceID are used by an open-source user to identify the workspace.
|
||||
// We do not provide insurance that this will not be removed in the future,
|
||||
// but if it's easy to persist lets keep it around.
|
||||
OwnerName string `json:"owner_name"`
|
||||
OwnerUsername string `json:"owner_username"`
|
||||
WorkspaceID uuid.UUID `json:"workspace_id"`
|
||||
WorkspaceName string `json:"workspace_name"`
|
||||
// GitAuthConfigs stores the number of Git configurations
|
||||
|
Reference in New Issue
Block a user