Skip to content

Commit ac52626

Browse files
aslilacEmyrk
andauthored
Update coderd/files/cache_internal_test.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com>
1 parent 3764134 commit ac52626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/files/cache_internal_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type LeakCache struct {
1616

1717
func (c *LeakCache) Acquire(ctx context.Context, db database.Store, fileID uuid.UUID) (*CloseFS, error) {
1818
// We need to call prepare first to both 1. leak a reference and 2. prevent
19-
// the behavior of immediately closing on an error (as implented in Acquire)
19+
// the behavior of immediately closing on an error (as implemented in Acquire)
2020
// from freeing the file.
2121
c.prepare(db, fileID)
2222
return c.Cache.Acquire(ctx, db, fileID)

0 commit comments

Comments
 (0)