Skip to content

fix: don't override 0 ttl with template default #5151

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 1 commit into from
Nov 23, 2022

Conversation

presleyp
Copy link
Contributor

Fixes #5146

We were overriding 0 or null ttl (auto-stop duration) with the template default both on workspace creation (as desired) and on workspace update (not desired as that's how we disable auto-stop).

@presleyp presleyp requested a review from mafredri November 22, 2022 21:51
@presleyp presleyp merged commit 913e461 into main Nov 23, 2022
@presleyp presleyp deleted the disable-auto-stop/presleyp branch November 23, 2022 15:30
@github-actions github-actions bot locked and limited conversation to collaborators Nov 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disabling auto-stop not working as expected in 0.12.6
3 participants