Skip to content

Commit

Permalink
Merge pull request ManageIQ#543 from agrare/fix_lazy_find_deprecation…
Browse files Browse the repository at this point in the history
…_warning

Fix InventoryRefresh lazy_find deprecation warning
  • Loading branch information
kbrock authored Nov 27, 2023
2 parents b46db12 + 3ab5598 commit 5874358
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def floating_ips
network_port = persister.network_ports.lazy_find("#{network_port_id}/nic1")
else
network_port = persister.network_ports.lazy_find(network_port_id)
vm = persister.network_ports.lazy_find(network_port_id, {:key => :device, :default => nil})
vm = persister.network_ports.lazy_find(network_port_id, :key => :device, :default => nil)
end

persister.floating_ips.build(
Expand Down

0 comments on commit 5874358

Please sign in to comment.