mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
use md5 hash for checking if key exists. (#1257)
This commit is contained in:
parent
948828ba8c
commit
6db770fbe5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue