mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
fix: correct the correct cli output for 'template version list --output=json' (#7984)
* fix: correct 'template version list --output=json' cli cmd
This commit is contained in:
@ -105,6 +105,7 @@ func templateVersionsToRows(activeVersionID uuid.UUID, templateVersions ...coder
|
|||||||
}
|
}
|
||||||
|
|
||||||
rows[i] = templateVersionRow{
|
rows[i] = templateVersionRow{
|
||||||
|
TemplateVersion: templateVersion,
|
||||||
Name: templateVersion.Name,
|
Name: templateVersion.Name,
|
||||||
CreatedAt: templateVersion.CreatedAt,
|
CreatedAt: templateVersion.CreatedAt,
|
||||||
CreatedBy: templateVersion.CreatedBy.Username,
|
CreatedBy: templateVersion.CreatedBy.Username,
|
||||||
|
Reference in New Issue
Block a user