1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

fix identifiers

This commit is contained in:
Bulat Shakirzyanov 2012-06-07 15:09:03 -07:00
parent 2293a2a3d7
commit 4db722e410
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ module Fog
caller_ref = "ref-#{rand(1000000).to_s}"
end
zone_id = Fog::AWS::Mock.zone_id
self.data[:zones][zone_id] = {
self.data[:zones]["/hostedzone/#{zone_id}"] = {
:id => zone_id,
:name => name,
:reference => caller_ref,

View file

@ -75,7 +75,7 @@ module Fog
response.body = {
'HostedZones' => zones.map do |z|
{
'Id' => z[:zone_id],
'Id' => "/hostedzone/#{z[:zone_id]}",
'Name' => z[:name],
'CallerReference' => z[:reference],
'Comment' => z[:comment],