Skip to content

fix: allow setting workspace deadline as early as now plus 30 minutes #2328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 14, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
copy changes
  • Loading branch information
johnstcn committed Jun 14, 2022
commit 308b348507ac45523662dacc2deb8b55210fb629
4 changes: 2 additions & 2 deletions cli/bump.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ import (
)

const (
bumpDescriptionLong = `Make your workspace stop at a certain point in the future.`
bumpDescriptionLong = `Specify a duration from now when you would like your workspace to shut down.`
)

func bump() *cobra.Command {
bumpCmd := &cobra.Command{
Args: cobra.RangeArgs(1, 2),
Annotations: workspaceCommand,
Use: "bump <workspace-name> <duration from now>",
Short: "Make your workspace stop at a certain point in the future.",
Short: "Specify a duration from now when you would like your workspace to shut down.",
Long: bumpDescriptionLong,
Example: "coder bump my-workspace 90m",
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down