Skip to content

Commit 899e802

Browse files
committed
update golden
1 parent 426b751 commit 899e802

File tree

6 files changed

+19
-5
lines changed

6 files changed

+19
-5
lines changed

cli/testdata/coder_list_--output_json.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"healthy": true,
6060
"failing_agents": []
6161
},
62-
"automatic_updates": "never"
62+
"automatic_updates": "never",
63+
"allow_renames": false
6364
}
6465
]

cli/testdata/coder_server_--help.golden

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ SUBCOMMANDS:
1414
PostgreSQL deployment.
1515

1616
OPTIONS:
17+
--allow-workspace-renames bool, $CODER_ALLOW_WORKSPACE_RENAMES (default: false)
18+
DEPRECATED: Allow users to rename their workspaces. Use only for
19+
temporary compatibility reasons, this flag will no longer function
20+
after 2024-04-01.
21+
1722
--cache-dir string, $CODER_CACHE_DIRECTORY (default: [cache dir])
1823
The directory to cache temporary files. If unspecified and
1924
$CACHE_DIRECTORY is set, it will be used for compatibility with

cli/testdata/server-config.yaml.golden

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,3 +457,7 @@ userQuietHoursSchedule:
457457
# values are not supported).
458458
# (default: <unset>, type: string)
459459
defaultQuietHoursSchedule: ""
460+
# DEPRECATED: Allow users to rename their workspaces. Use only for temporary
461+
# compatibility reasons, this flag will no longer function after 2024-04-01.
462+
# (default: false, type: bool)
463+
allowWorkspaceRenames: false

codersdk/deployment.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,12 +1837,11 @@ Write out the current server config as YAML to stdout.`,
18371837
},
18381838
{
18391839
Name: "Allow Workspace Renames",
1840-
Description: "DEPRECATED: Allow users to rename their workspaces. Use only for temporary compatibility reasons, this flag will no longer function after 2024-04-01T00:00:00Z00:00.",
1840+
Description: "DEPRECATED: Allow users to rename their workspaces. Use only for temporary compatibility reasons, this flag will no longer function after 2024-04-01.",
18411841
Flag: "allow-workspace-renames",
18421842
Env: "CODER_ALLOW_WORKSPACE_RENAMES",
18431843
Default: "false",
18441844
Value: &c.AllowWorkspaceRenames,
1845-
Group: &deploymentGroupConfig,
18461845
YAML: "allowWorkspaceRenames",
18471846
},
18481847
// Healthcheck Options

docs/cli/server.md

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

enterprise/cli/testdata/coder_server_--help.golden

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ SUBCOMMANDS:
1515
PostgreSQL deployment.
1616

1717
OPTIONS:
18+
--allow-workspace-renames bool, $CODER_ALLOW_WORKSPACE_RENAMES (default: false)
19+
DEPRECATED: Allow users to rename their workspaces. Use only for
20+
temporary compatibility reasons, this flag will no longer function
21+
after 2024-04-01.
22+
1823
--cache-dir string, $CODER_CACHE_DIRECTORY (default: [cache dir])
1924
The directory to cache temporary files. If unspecified and
2025
$CACHE_DIRECTORY is set, it will be used for compatibility with

0 commit comments

Comments
 (0)