mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-16 01:33:10 +09:00
bug #2928: Initialize instance_types if it's not defined in the conf
This commit is contained in:
1 parent
a05d4dbe78
commit
b9fff17026
1 file changed
+1
-1
@@ -231,7 +231,7 @@ helpers do
|
||||
end
|
||||
|
||||
def cloud_view_instance_types
|
||||
$conf[:instance_types] || {}
|
||||
$conf[:instance_types] || []
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user