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

Joyent server creation should not wait for server to be ready

Align with other providers for consistency
This commit is contained in:
Carlos Sanchez 2012-10-23 19:00:05 +02:00
parent e67eba360c
commit 5c9c675146

View file

@ -15,12 +15,13 @@ module Fog
def create(params = {})
data = self.connection.create_machine(params).body
server = new(data)
server.wait_for { ready? }
server
end
def bootstrap
# XXX TOXO
def bootstrap(new_attributes = {})
server = create(new_attributes)
server.wait_for { ready? }
server
end
def get(machine_id)