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

fix typos

This commit is contained in:
Bulat Shakirzyanov 2012-06-07 15:28:07 -07:00
parent 6b3d2ed37c
commit e164fe7bdb
3 changed files with 4 additions and 4 deletions

View file

@ -69,8 +69,8 @@ module Fog
#make sure we have a unique call reference
caller_ref = "ref-#{rand(1000000).to_s}"
end
zone_id = Fog::AWS::Mock.zone_id
self.data[:zones]["/hostedzone/#{zone_id}"] = {
zone_id = "/hostedzone/#{Fog::AWS::Mock.zone_id}"
self.data[:zones][zone_id] = {
:id => zone_id,
:name => name,
:reference => caller_ref,

View file

@ -45,7 +45,7 @@ module Fog
response.status = 200
response.body = {
'HostedZone' => {
'Id' => "/hostedzone/#{zone[:zone_id]}",
'Id' => zone[:id],
'Name' => zone[:name],
'CallerReference' => zone[:reference],
'Comment' => zone[:comment]

View file

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