mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-16 17:53:08 +09:00
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:
1 parent
fef1fc59c6
commit
3d063fd10e
1 file changed
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user