Skip to content

Commit

Permalink
feat(dfdaemon): remove redandant code
Browse files Browse the repository at this point in the history
  • Loading branch information
xujihui1985 committed Dec 4, 2023
1 parent 241ac78 commit d614d30
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions client/daemon/storage/storage_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -807,10 +807,6 @@ func (s *storageManager) TryGC() (bool, error) {
}
return true
})
diskUsage := s.diskUsage()
if diskUsage != nil {

}
quotaBytesExceed := totalNotMarkedSize - int64(s.storeOption.DiskGCThreshold)
quotaExceed := s.storeOption.DiskGCThreshold > 0 && quotaBytesExceed > 0

Expand Down

0 comments on commit d614d30

Please sign in to comment.