mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Added parsing for Marker. AWS limits response to 100 lines and gives you a marker to get the next batch with
This commit is contained in:
parent
6cd3cbd114
commit
a07079196f
2 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,8 @@ module Fog
|
|||
@event[name] = value ? value.strip : name
|
||||
when 'Event'
|
||||
@response['Events'] << @event unless @event.empty?
|
||||
when 'IsTruncated', 'Marker', 'NextMarker'
|
||||
@response[name] = value
|
||||
else
|
||||
super
|
||||
end
|
||||
|
|
|
@ -27,6 +27,8 @@ module Fog
|
|||
@event[name] = value ? value.strip : name
|
||||
when 'Event'
|
||||
@response['Events'] << @event unless @event.empty?
|
||||
when 'IsTruncated', 'Marker', 'NextMarker'
|
||||
@response[name] = value
|
||||
else
|
||||
super
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue