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

feature #3532: fix showing host with no wilds

This commit is contained in:
Javi Fontan 2015-05-07 14:17:01 +02:00
parent d498f11dc6
commit 6ab4071d5c

View File

@ -312,7 +312,7 @@ class OneHostHelper < OpenNebulaHelper::OneHelper
end
def get_wilds(host)
[host.to_hash['HOST']['TEMPLATE']['VM']].flatten
[host.to_hash['HOST']['TEMPLATE']['VM']].flatten.compact
end
def get_importable_wilds(host)