Skip to content

Schedule: use template default when re-enabling auto-stop #5154

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

Closed
presleyp opened this issue Nov 23, 2022 · 3 comments
Closed

Schedule: use template default when re-enabling auto-stop #5154

presleyp opened this issue Nov 23, 2022 · 3 comments
Assignees

Comments

@presleyp
Copy link
Contributor

Current behavior: when I disable auto-stop, submit the change, and then enable auto-stop again, the duration of the auto-stop (ttl) that automatically populates is 12 hours no matter what (it's hard-coded on the frontend).

Expected behavior: the duration that populates is whatever is specified in my template as default TTL. If there is no default, it can fall back to some hard-coded default like 12 hours.

@presleyp
Copy link
Contributor Author

@bpmct is my expectation here right? Do you think this is worth fixing?

@bpmct
Copy link
Member

bpmct commented Dec 8, 2022

totally think it's worth fixing and reverting to the default if there is one set

@presleyp presleyp self-assigned this Dec 14, 2022
@presleyp
Copy link
Contributor Author

presleyp commented Jan 3, 2023

Closed by #5494

@presleyp presleyp closed this as completed Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants