Skip to content

fix: list templates returns non-deprecated templates by default #17747

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 8 commits into from
May 13, 2025
Prev Previous commit
Next Next commit
fix: comment in enterprise/coderd/templates_test.go
  • Loading branch information
ssncferreira committed May 12, 2025
commit 3e5e40d3b8ffc3a6f1e9eacfa21f3aaff53d686e
2 changes: 1 addition & 1 deletion enterprise/coderd/templates_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ func TestTemplates(t *testing.T) {

ctx := testutil.Context(t, testutil.WaitLong)

// Should return only the deprecated templates
// Should return only the non-deprecated templates
templates, err := client.Templates(ctx, codersdk.TemplateFilter{
SearchQuery: "deprecated:false",
})
Expand Down