mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
Minor bug in OCCI Image XML representation
git-svn-id: http://svn.opennebula.org/one/trunk@925 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
1 parent
6c10de10cc
commit
7f8dbbd4df
1 file changed
+3
-3
@@ -25,13 +25,13 @@ module ImageOCCI
|
||||
<DISK>
|
||||
<ID><%= self.id %></ID>
|
||||
<NAME><%= name %></NAME>
|
||||
<SIZE><%= ((size/1024)/1024).to_s %></ADDRESS>
|
||||
<URL><%= description %></SIZE>
|
||||
<SIZE><%= ((size/1024)/1024).to_s %></SIZE>
|
||||
<URL><%= description %></URL>
|
||||
</DISK>
|
||||
}.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)
|
||||
|
||||
Reference in new issue
Block a user