Skip to content

Commit

Permalink
use md5 hash for checking if key exists. (trufflesecurity#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrav committed May 15, 2023
1 parent 948828b commit 6db770f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sources/gcs/gcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func (s *Source) Chunks(ctx context.Context, chunksChan chan *sources.Chunk) err
continue
}

if persistableCache.Exists(o.name) {
if persistableCache.Exists(o.md5) {
ctx.Logger().V(5).Info("skipping object, object already processed", "name", o.name)
continue
}
Expand Down

0 comments on commit 6db770f

Please sign in to comment.