mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
Changed the wrong Days -> NoncurrentDays
This commit is contained in:
parent
b1a6204fd2
commit
2ff853b953
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ module Fog
|
|||
@transition['StorageClass'] = value
|
||||
when 'Date'
|
||||
@transition[name] = value
|
||||
when 'NoncurrentDays'
|
||||
when 'Days'
|
||||
@transition[name] = value.to_i
|
||||
when 'Transition'
|
||||
@rule['Transition'] = @transition
|
||||
|
@ -68,7 +68,7 @@ module Fog
|
|||
@version_transition['StorageClass'] = value
|
||||
when 'Date'
|
||||
@version_transition[name] = value
|
||||
when 'Days'
|
||||
when 'NoncurrentDays'
|
||||
@version_transition[name] = value.to_i
|
||||
when 'NoncurrentVersionTransition'
|
||||
@rule['NoncurrentVersionTransition'] = @transition
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue