Skip to content

Commit

Permalink
Fix Performance/BindCall cop
Browse files Browse the repository at this point in the history
  • Loading branch information
archanaserver authored and ehelms committed Jul 16, 2024
1 parent 73f9c37 commit e1167ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/fog_extensions/proxmox/node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def each(collection_filters = {}, &block)
# We need to explicitly use the base 'each' method here on the page,
# otherwise we get infinite recursion
base_each = Fog::Collection.instance_method(:each)
base_each.bind(page).call(&block)
base_each.bind_call(page, &block)
end
end
self
Expand Down

0 comments on commit e1167ae

Please sign in to comment.