From 7f8dbbd4df1229dadff0d032a69d00de63dc0706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantino=20V=C3=A1zquez=20Blanco?= Date: Wed, 2 Dec 2009 11:44:45 +0000 Subject: [PATCH] Minor bug in OCCI Image XML representation git-svn-id: http://svn.opennebula.org/one/trunk@925 3034c82b-c49b-4eb3-8279-a7acafdc01c0 --- src/cloud/occi/lib/ImageOCCI.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cloud/occi/lib/ImageOCCI.rb b/src/cloud/occi/lib/ImageOCCI.rb index 6ce4be5ee7..f47a14782d 100755 --- a/src/cloud/occi/lib/ImageOCCI.rb +++ b/src/cloud/occi/lib/ImageOCCI.rb @@ -25,13 +25,13 @@ module ImageOCCI <%= self.id %> <%= name %> - <%= ((size/1024)/1024).to_s %> - <%= description %> + <%= ((size/1024)/1024).to_s %> + <%= description %> }.gsub(/^ /, '') - # Creates the OCCI representation of a Virtual Network + # Creates the OCCI representation of an Image def to_occi() occi = ERB.new(OCCI_IMAGE) return occi.result(binding)