Skip to content

Commit a66c485

Browse files
committed
Cleanup
1 parent 5941d94 commit a66c485

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/leeway/cache.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,8 @@ func (rs *S3RemoteCache) ExistingPackages(pkgs []*Package) (map[*Package]struct{
349349
}
350350
log.Debugf("Checking if %d packages exist in the remote cache using s3", len(packagesToKeys))
351351

352-
ch := make(chan *Package, len(packagesToKeys))
353352
existingPackages := make(map[*Package]struct{})
354-
var mu sync.Mutex // Mutex for safe concurrent map access
353+
var mu sync.Mutex
355354
wg := sync.WaitGroup{}
356355

357356
ctx := context.TODO()

0 commit comments

Comments
 (0)