mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix identifiers
This commit is contained in:
parent
2293a2a3d7
commit
4db722e410
2 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue