mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fixed ready? in server model, minor formatting change in servers
This commit is contained in:
parent
f24fdb028e
commit
138ea7cd94
2 changed files with 1 additions and 2 deletions
|
@ -36,7 +36,7 @@ module Fog
|
||||||
end
|
end
|
||||||
|
|
||||||
def ready?
|
def ready?
|
||||||
@status == 'SUCCEEDED'
|
status == 'SUCCEEDED'
|
||||||
end
|
end
|
||||||
|
|
||||||
def save
|
def save
|
||||||
|
|
|
@ -33,7 +33,6 @@ module Fog
|
||||||
else
|
else
|
||||||
status = connection.voxcloud_status(device_id)
|
status = connection.voxcloud_status(device_id)
|
||||||
server.first[:status] = status.first[:status]
|
server.first[:status] = status.first[:status]
|
||||||
|
|
||||||
new(server.first)
|
new(server.first)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue