mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: return template data for provisioner daemons (#16514)
Return template data in provisioner jobs to be displayed in the provisioners page.
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ OPTIONS:
|
||||
-O, --org string, $CODER_ORGANIZATION
|
||||
Select which organization (uuid or name) to use.
|
||||
|
||||
-c, --column [id|organization id|created at|last seen at|name|version|api version|tags|key name|status|current job id|current job status|previous job id|previous job status|organization] (default: name,organization,status,key name,created at,last seen at,version,tags)
|
||||
-c, --column [id|organization id|created at|last seen at|name|version|api version|tags|key name|status|current job id|current job status|current job template name|current job template icon|current job template display name|previous job id|previous job status|previous job template name|previous job template icon|previous job template display name|organization] (default: name,organization,status,key name,created at,last seen at,version,tags)
|
||||
Columns to display in table output.
|
||||
|
||||
-o, --output table|json (default: table)
|
||||
|
||||
@@ -20,7 +20,10 @@
|
||||
"current_job": null,
|
||||
"previous_job": {
|
||||
"id": "======[workspace build job ID]======",
|
||||
"status": "succeeded"
|
||||
"status": "succeeded",
|
||||
"template_name": "",
|
||||
"template_icon": "",
|
||||
"template_display_name": ""
|
||||
},
|
||||
"organization_name": "Coder"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user