From 201fb087a54021539925bf3a554b590933d8e33a Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Thu, 2 Oct 2014 11:23:01 +0200 Subject: [PATCH] bug #3218: Use INFO_ALL flag when listing the instance types --- src/cloud/ec2/lib/instance.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cloud/ec2/lib/instance.rb b/src/cloud/ec2/lib/instance.rb index 1d069a8ff0..34203df714 100644 --- a/src/cloud/ec2/lib/instance.rb +++ b/src/cloud/ec2/lib/instance.rb @@ -128,7 +128,8 @@ module Instance end } else - template_pool = TemplatePool.new(@client) + user_flag = OpenNebula::Pool::INFO_ALL + template_pool = TemplatePool.new(@client, user_flag) rc = template_pool.info if OpenNebula::is_error?(rc) return rc