1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Bug #1334: Fix oneacct retrieve_elements params

(cherry picked from commit 9450987588093dc1a850bc661b75468f56f18aac)
This commit is contained in:
Carlos Martín 2012-07-06 12:59:32 +02:00
parent 96a5e49bfc
commit 331883134f

View File

@ -137,7 +137,7 @@ public
CLIHelper.scr_underline
username_elems =
xmldoc.retrieve_elements(["HISTORY/VM[UID=#{uid}]/UNAME"])
xmldoc.retrieve_elements("HISTORY/VM[UID=#{uid}]/UNAME")
username = username_elems.nil? ? "" : username_elems.uniq