mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[terremark] only parse task result if there is one
This commit is contained in:
parent
b406ec113c
commit
3be3598c0d
1 changed files with 3 additions and 1 deletions
|
@ -18,8 +18,10 @@ module Fog
|
||||||
new_result = attributes.delete('Result')
|
new_result = attributes.delete('Result')
|
||||||
super
|
super
|
||||||
@owner = connection.parse(new_owner)
|
@owner = connection.parse(new_owner)
|
||||||
|
if new_result
|
||||||
@result = connection.parse(new_result)
|
@result = connection.parse(new_result)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def ready?
|
def ready?
|
||||||
@status == 'success'
|
@status == 'success'
|
||||||
|
|
Loading…
Add table
Reference in a new issue