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

Update method to remove availability_zone as input data parameter.

This commit is contained in:
Rupak Ganguly 2012-10-31 12:24:48 -04:00
parent 037d4c4595
commit 57b2bb98ac

View file

@ -15,7 +15,6 @@ module Fog
# * 'max_count'<~Integer> - Max. number of servers to create. Defaults to being equal to min_count.
# * 'key_name'<~String> - Name of keypair to be used
# * 'security_groups'<~Array> - one or more security groups to be used
# * 'availability_zone'<~String> - the availability zone to be used
# * 'personality'<~Array>: Up to 5 files to customize server
# * file<~Hash>:
# * 'contents'<~String> - Contents of file (10kb total of contents)
@ -98,9 +97,6 @@ module Fog
}
end
end
if options['availability_zone']
data['server']['availability_zone'] = options['availability_zone']
end
request(
:body => MultiJson.encode(data),