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

[rackspace] fixing bug with mock data

This commit is contained in:
Kyle Rames 2013-04-19 07:59:33 -05:00
parent 12f36dff78
commit 18283114ff

View file

@ -147,11 +147,12 @@ module Fog
}
# add in additional networks
options[:networks].each do |network|
net_label = self.data[:networks][network[:uuid]]["label"]
server["addresses"] = { net_label => []}
if options[:networks]
options[:networks].each do |network|
net_label = self.data[:networks][network[:uuid]]["label"]
server["addresses"] = { net_label => []}
end
end
self.data[:servers][server_id] = server
response = {