From b9fff17026faf4ddfec445a6831243bd0b370b38 Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Mon, 19 May 2014 12:04:14 +0200 Subject: [PATCH] bug #2928: Initialize instance_types if it's not defined in the conf --- src/sunstone/sunstone-server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sunstone/sunstone-server.rb b/src/sunstone/sunstone-server.rb index b4a54af27f..e47bc12876 100755 --- a/src/sunstone/sunstone-server.rb +++ b/src/sunstone/sunstone-server.rb @@ -231,7 +231,7 @@ helpers do end def cloud_view_instance_types - $conf[:instance_types] || {} + $conf[:instance_types] || [] end end