Konstantin Lebedev
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
weed/shell/command_volume_check_disk.go
|
@ -146,7 +146,7 @@ func (c *commandVolumeCheckDisk) doVolumeCheckDisk(minuend, subtrahend *needle_m |
|
|
var counter int |
|
|
var counter int |
|
|
minuend.AscendingVisit(func(value needle_map.NeedleValue) error { |
|
|
minuend.AscendingVisit(func(value needle_map.NeedleValue) error { |
|
|
counter++ |
|
|
counter++ |
|
|
if _, found := subtrahend.Get(value.Key); !found { |
|
|
|
|
|
|
|
|
if _, found := subtrahend.Get(value.Key); !found && value.Size.IsValid() { |
|
|
missingNeedles = append(missingNeedles, value) |
|
|
missingNeedles = append(missingNeedles, value) |
|
|
} |
|
|
} |
|
|
return nil |
|
|
return nil |
|
|