Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Commit

Permalink
KNIFE-460 Remove extraneous flavor reloads
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Rames committed Mar 4, 2014
1 parent 59c7f0b commit c14a425
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/chef/knife/rackspace_flavor_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ def run
]
end
connection.flavors.sort_by(&:id).each do |flavor|

flavor = connection.flavors.get(flavor.id)
bits = flavor.respond_to?(:bits) ? "#{flavor.bits.to_s}-bit" : ""

flavor_list << flavor.id.to_s
Expand Down

0 comments on commit c14a425

Please sign in to comment.