1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

remove hack for linode not filtering avail.linodeplans by planid

This commit is contained in:
Marques Johansson 2014-09-02 14:51:51 -04:00
parent e62174cf05
commit 75df4b28e0

View file

@ -22,8 +22,6 @@ module Fog
:query => { :api_action => 'avail.linodeplans' }.merge!(options)
)
#hack for plans not filtering by id like they should above, remove when they fix it.
result.body["DATA"] = result.body["DATA"].select { |item| item['PLANID'] == linodeplan_id } if linodeplan_id
result
end
end