You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirmed. If you create the workspace with CLI, it ignores user template settings. It works well if you use the site to create a workspace.
cliflag.DurationVarP(cmd.Flags(), &stopAfter, "stop-after", "", "CODER_WORKSPACE_STOP_AFTER", 8*time.Hour, "Specify a duration after which the workspace should shut down (e.g. 8h).")
(if user doesn't provide the stop-after, CLI will default to 8h)
Version:
v0.17.0+a5f3f02
I have a template that defaults to auto-off to 2 hours.
I created a workspace in the CLI with the following command
coder create nodeJS -t docker-code-server -y
In the UI, the new workspace is set to 8 hours.
Is this a bug? Seems to defeat the purpose of template off settings
The text was updated successfully, but these errors were encountered: