mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-08 14:21:18 +00:00
Upgrade AWS SDK
Signed-off-by: Guillaume Delacour <delacoug@amazon.com>
This commit is contained in:
@@ -410,7 +410,7 @@ func (s AWSStorage) GetMinioBucketSize(cloudCredentialsFile, bslBucket, bslPrefi
|
||||
return 0, errors.Wrapf(err, "failed to list objects in bucket %s", bslBucket)
|
||||
}
|
||||
for _, obj := range page.Contents {
|
||||
totalSize += obj.Size
|
||||
totalSize += *obj.Size
|
||||
}
|
||||
}
|
||||
return totalSize, nil
|
||||
|
||||
Reference in New Issue
Block a user