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
1 changed files with 0 additions and 2 deletions

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