1
0
Fork 0
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:
Bulat Shakirzyanov 2012-06-14 11:46:15 -07:00
parent 3e5020f2b3
commit b4e0c2110a

View file

@ -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