From 6ab4071d5cdc76fc79eb03f98b125f016265731d Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Thu, 7 May 2015 14:17:01 +0200 Subject: [PATCH] feature #3532: fix showing host with no wilds --- src/cli/one_helper/onehost_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/one_helper/onehost_helper.rb b/src/cli/one_helper/onehost_helper.rb index 35d930b6f0..18828b3b10 100644 --- a/src/cli/one_helper/onehost_helper.rb +++ b/src/cli/one_helper/onehost_helper.rb @@ -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)