Skip to content

[gitpod-cli] Flexible Workspace Timeout - <n>days is not working #15945

Closed
@Siddhant-K-code

Description

@Siddhant-K-code

Bug description

Recently #15815 got merged which introduces flexible workspace timeout.

But, In --help It shows the following (to use 2d which doesn't seem to be working):

Long: `Set timeout of current workspace.
Duration must be in the format of <n>m (minutes), <n>h (hours), or <n>d (days).
For example, 30m, 1h, 2d, etc.`,

Steps to reproduce

Screenshot 2023-01-20 at 6 19 15 PM

Screenshot 2023-01-20 at 6 18 03 PM

Workspace affected

No response

Expected behavior

We Should just limit it to <n>m to use standard units - minutes only.

Example repository

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    In Validation

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions