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:
parent
e67eba360c
commit
5c9c675146
1 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue