Skip to content

Commit f795974

Browse files
committed
change to 'coder'
1 parent 6196320 commit f795974

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

cli/testdata/coder_list_--output_json.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"owner_name": "testuser",
88
"owner_avatar_url": "",
99
"organization_id": "[first org ID]",
10-
"organization_name": "main",
10+
"organization_name": "coder",
1111
"template_id": "[template ID]",
1212
"template_name": "test-template",
1313
"template_display_name": "",

coderd/database/dbmem/dbmem.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ func New() database.Store {
9292
// Always start with a default org. Matching migration 198.
9393
defaultOrg, err := q.InsertOrganization(context.Background(), database.InsertOrganizationParams{
9494
ID: uuid.New(),
95-
Name: "main",
96-
DisplayName: "Main",
95+
Name: "coder",
96+
DisplayName: "Coder",
9797
Description: "Builtin default organization.",
9898
Icon: "",
9999
CreatedAt: dbtime.Now(),

coderd/database/migrations/000259_rename_first_organization.up.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
UPDATE
22
organizations
33
SET
4-
name = 'main',
5-
display_name = 'Main'
4+
name = 'coder',
5+
display_name = 'Coder'
66
WHERE
77
-- The old name was too long.
88
name = 'first-organization'

enterprise/cli/create_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,6 @@ func TestEnterpriseCreate(t *testing.T) {
202202
err := inv.Run()
203203
require.Error(t, err)
204204
// The error message should indicate the flag to fix the issue.
205-
require.ErrorContains(t, err, fmt.Sprintf("--org=%q", "main"))
205+
require.ErrorContains(t, err, fmt.Sprintf("--org=%q", "coder"))
206206
})
207207
}

0 commit comments

Comments
 (0)