[terremark] only parse task result if there is one

This commit is contained in:
geemus (Wesley Beary) 2010-04-19 22:54:28 -07:00
parent b406ec113c
commit 3be3598c0d
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,9 @@ module Fog
new_result = attributes.delete('Result')
super
@owner = connection.parse(new_owner)
@result = connection.parse(new_result)
if new_result
@result = connection.parse(new_result)
end
end
def ready?