Skip to content

Commit af6789a

Browse files
committed
fixup! gen
1 parent 5b1258b commit af6789a

5 files changed

+30
-33
lines changed

cli/testdata/coder_list_--output_json.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
},
4545
"queue_position": 0,
4646
"queue_size": 0,
47-
"organization_id": "[first org ID]",
47+
"organization_id": "===========[first org ID]===========",
4848
"input": {
49-
"workspace_build_id": "[workspace build ID]"
49+
"workspace_build_id": "========[workspace build ID]========"
5050
},
5151
"type": "workspace_build"
5252
},
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
ID CREATED AT STATUS TAGS TYPE ORGANIZATION QUEUE
2-
[version job ID] [timestamp] succeeded map[owner: scope:organization] template_version_import Coder
3-
[workspace build job ID] [timestamp] succeeded map[owner: scope:organization] workspace_build Coder
2+
==========[version job ID]========== ====[timestamp]===== succeeded map[owner: scope:organization] template_version_import Coder
3+
======[workspace build job ID]====== ====[timestamp]===== succeeded map[owner: scope:organization] workspace_build Coder

cli/testdata/coder_provisioners_jobs_list_--output_json.golden

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
[
22
{
3-
"id": "[version job ID]",
4-
"created_at": "[timestamp]",
5-
"started_at": "[timestamp]",
6-
"completed_at": "[timestamp]",
3+
"id": "==========[version job ID]==========",
4+
"created_at": "====[timestamp]=====",
5+
"started_at": "====[timestamp]=====",
6+
"completed_at": "====[timestamp]=====",
77
"status": "succeeded",
8-
"worker_id": "[workspace build worker ID]",
9-
"file_id": "[workspace build file ID]",
8+
"worker_id": "====[workspace build worker ID]=====",
9+
"file_id": "=====[workspace build file ID]======",
1010
"tags": {
1111
"owner": "",
1212
"scope": "organization"
1313
},
1414
"queue_position": 0,
1515
"queue_size": 0,
16-
"organization_id": "[first org ID]",
16+
"organization_id": "===========[first org ID]===========",
1717
"input": {
18-
"template_version_id": "[version ID]"
18+
"template_version_id": "============[version ID]============"
1919
},
2020
"type": "template_version_import",
2121
"organization_name": "Coder"
2222
},
2323
{
24-
"id": "[workspace build job ID]",
25-
"created_at": "[timestamp]",
26-
"started_at": "[timestamp]",
27-
"completed_at": "[timestamp]",
24+
"id": "======[workspace build job ID]======",
25+
"created_at": "====[timestamp]=====",
26+
"started_at": "====[timestamp]=====",
27+
"completed_at": "====[timestamp]=====",
2828
"status": "succeeded",
29-
"worker_id": "[workspace build worker ID]",
30-
"file_id": "[workspace build file ID]",
29+
"worker_id": "====[workspace build worker ID]=====",
30+
"file_id": "=====[workspace build file ID]======",
3131
"tags": {
3232
"owner": "",
3333
"scope": "organization"
3434
},
3535
"queue_position": 0,
3636
"queue_size": 0,
37-
"organization_id": "[first org ID]",
37+
"organization_id": "===========[first org ID]===========",
3838
"input": {
39-
"workspace_build_id": "[workspace build ID]"
39+
"workspace_build_id": "========[workspace build ID]========"
4040
},
4141
"type": "workspace_build",
4242
"organization_name": "Coder"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
CREATED AT LAST SEEN AT NAME VERSION TAGS KEY NAME STATUS ORGANIZATION
2-
[timestamp] [timestamp] test v0.0.0-devel map[owner: scope:organization] offline Coder
1+
CREATED AT LAST SEEN AT NAME VERSION TAGS KEY NAME STATUS ORGANIZATION
2+
====[timestamp]===== ====[timestamp]===== test v0.0.0-devel map[owner: scope:organization] built-in idle Coder

cli/testdata/coder_provisioners_list_--output_json.golden

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[
22
{
3-
"id": "[workspace build worker ID]",
4-
"organization_id": "[first org ID]",
3+
"id": "====[workspace build worker ID]=====",
4+
"organization_id": "===========[first org ID]===========",
55
"key_id": "00000000-0000-0000-0000-000000000001",
6-
"created_at": "[timestamp]",
7-
"last_seen_at": "[timestamp]",
6+
"created_at": "====[timestamp]=====",
7+
"last_seen_at": "====[timestamp]=====",
88
"name": "test",
99
"version": "v0.0.0-devel",
1010
"api_version": "1.1",
@@ -15,14 +15,11 @@
1515
"owner": "",
1616
"scope": "organization"
1717
},
18-
"key_name": "",
19-
"status": "offline",
20-
"current_job": {
21-
"id": "[version job ID]",
22-
"status": "succeeded"
23-
},
18+
"key_name": "built-in",
19+
"status": "idle",
20+
"current_job": null,
2421
"previous_job": {
25-
"id": "[workspace build job ID]",
22+
"id": "======[workspace build job ID]======",
2623
"status": "succeeded"
2724
},
2825
"organization_name": "Coder"

0 commit comments

Comments
 (0)