mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|storage|test] Track if the version is the latest or not.
This commit is contained in:
parent
d53f2409b0
commit
f9de06b603
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ module Fog
|
|||
'LastModified' => Time.parse(object['Last-Modified']),
|
||||
'Owner' => bucket['Owner'],
|
||||
'Size' => object['Content-Length'].to_i,
|
||||
'IsLatest' => true
|
||||
'IsLatest' => object == bucket[:objects][object['Key']].last
|
||||
})
|
||||
data
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue