Skip to content

Commit

Permalink
remove error log from pathExistsInCache()
Browse files Browse the repository at this point in the history
  • Loading branch information
Dabnsky committed Oct 18, 2023
1 parent ac9b811 commit f4bc6c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion component/attr_cache/attr_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ func (ac *AttrCache) deleteCachedDirectory(path string, time time.Time) error {
func (ac *AttrCache) pathExistsInCache(path string) bool {
value, err := ac.cacheMap.get(internal.TruncateDirName(path))
if err != nil {
log.Err("could not find the attr cached item due to the following error: ", err)
return false
}
return (value.valid() && value.exists())
Expand Down

0 comments on commit f4bc6c3

Please sign in to comment.