Fixed typo in KVM VMM Driver POLL action

git-svn-id: http://svn.opennebula.org/trunk@49 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Constantino Vázquez Blanco committed 2008-07-10 11:31:54 +00:00
1 parent fef1fc59c6
commit 3d063fd10e
1 file changed
+2 -2
+2 -2
View File
@@ -133,7 +133,7 @@ class DM < ONEMad
# From STDERR if exit code == 1
def get_error_message(str)
tmp=str.scan(/^Error: (.*)$/)
tmp=str.scan(/^error: (.*)$/)
return "Unknown error" if !tmp[0]
tmp[0][0]
end
@@ -160,7 +160,7 @@ class DM < ONEMad
columns=line.split(":").collect {|c| c.strip }
case columns[0]
when 'Used memory'
info += "USEDMEMORY=" + columns[1].to_i*1024
info += "USEDMEMORY=" + (columns[1].to_i).to_s
end
}