1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

feature #3532: Fix bug when showing just one wild VM

This commit is contained in:
Javi Fontan 2015-05-06 12:45:35 +02:00
parent a626ea9002
commit 8a4c75ddb6

View File

@ -406,7 +406,7 @@ class OneHostHelper < OpenNebulaHelper::OneHelper
CLIHelper.print_header(str_h1 % "MONITORING INFORMATION", false)
wilds = host.to_hash['HOST']['TEMPLATE']['VM']
wilds = [host.to_hash['HOST']['TEMPLATE']['VM']].flatten
host.delete_element("TEMPLATE/VM")
host.delete_element("TEMPLATE_WILDS")