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:
parent
12f36dff78
commit
18283114ff
1 changed files with 5 additions and 4 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue