fix kernel selection bug
This commit is contained in:
parent
a190c4f3bd
commit
28f36d0cdc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue