mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix attribute name
This commit is contained in:
parent
3e5020f2b3
commit
b4e0c2110a
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ module Fog
|
|||
if options[:marker].nil?
|
||||
start = 0
|
||||
else
|
||||
start = self.data[:zones].find_index {|z| z[:zone_id] == options[:marker]}
|
||||
start = self.data[:zones].find_index {|z| z[:id] == options[:marker]}
|
||||
end
|
||||
|
||||
zones = self.data[:zones].values[start, maxitems]
|
||||
|
@ -87,7 +87,7 @@ module Fog
|
|||
}
|
||||
|
||||
if truncated
|
||||
response.body['NextMarker'] = next_zone[:zone_id]
|
||||
response.body['NextMarker'] = next_zone[:id]
|
||||
end
|
||||
|
||||
response
|
||||
|
|
Loading…
Reference in a new issue