fix kernel selection bug

This commit is contained in:
Alex Borisov 2015-09-25 09:18:10 +03:00
parent a190c4f3bd
commit 28f36d0cdc
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ module Fog
end
def get(id)
new kernels(id).first
new kernels(id).select {|kernel| kernel[:id] == id }.first
rescue Fog::Compute::Linode::NotFound
nil
end