Skip to content

Commit fa8f999

Browse files
committed
refactor: add comment to coderd/database/dbmem/dbmem.go
1 parent 3e5e40d commit fa8f999

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/database/dbmem/dbmem.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13021,6 +13021,7 @@ func (q *FakeQuerier) GetAuthorizedTemplates(ctx context.Context, arg database.G
1302113021
if arg.ExactName != "" && !strings.EqualFold(template.Name, arg.ExactName) {
1302213022
continue
1302313023
}
13024+
// Check if the search query filter 'Deprecated' status matches the template's 'Deprecated' status
1302413025
if arg.Deprecated.Valid && arg.Deprecated.Bool != (template.Deprecated != "") {
1302513026
continue
1302613027
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy