Skip to content

Commit

Permalink
PBM-1404: fix cond: len with -1 for no diff
Browse files Browse the repository at this point in the history
  • Loading branch information
defbin committed Oct 1, 2024
1 parent 1b2a8ba commit a69ed32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pbm/backup/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func checkPhysicalBackupDataFiles(_ context.Context, stg storage.Storage, bcp *B
}

for _, f := range filelist {
if f.Len <= 0 {
if f.Len < 0 {
continue // no file expected
}

Expand Down

0 comments on commit a69ed32

Please sign in to comment.