We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db5ccda commit cfbdb48Copy full SHA for cfbdb48
coderd/metricscache/metricscache.go
@@ -87,7 +87,9 @@ func (c *Cache) refreshTemplateBuildTimes(ctx context.Context) error {
87
//nolint:gocritic // This is a system service.
88
ctx = dbauthz.AsSystemRestricted(ctx)
89
90
- templates, err := c.database.GetTemplates(ctx)
+ templates, err := c.database.GetTemplatesWithFilter(ctx, database.GetTemplatesWithFilterParams{
91
+ Deleted: false,
92
+ })
93
if err != nil {
94
return err
95
}
0 commit comments