From: marios <[email protected]> https://issues.apache.org/jira/browse/DTACLOUD-370
Signed-off-by: marios <[email protected]> --- server/lib/cimi/models/machine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/cimi/models/machine.rb b/server/lib/cimi/models/machine.rb index 648c395..aeacf5b 100644 --- a/server/lib/cimi/models/machine.rb +++ b/server/lib/cimi/models/machine.rb @@ -125,7 +125,7 @@ class CIMI::Model::Machine < CIMI::Model::Base machine_spec = { :name => instance.name, :description => "Instance #{instance.name}", - :created => instance.launch_time.nil? ? Time.now.xmlschema : Time.parse(instance.launch_time).xmlschema, + :created => instance.launch_time.nil? ? Time.now.xmlschema : Time.parse(instance.launch_time.to_s).xmlschema, :id => context.machine_url(instance.id), :state => convert_instance_state(instance.state), :cpu => cpu || convert_instance_cpu(instance.instance_profile, context), -- 1.7.11.7
