Skip to content

Commit

Permalink
Fixed pdk code conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
atoy40 committed Nov 28, 2023
1 parent 938d3ef commit 64ffbbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/puppet/provider/libvirt_network/virsh.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def content
xml.root.elements.delete('//mac')
# remove the connections
xml.root.attributes.delete('connections')
xml.root.elements.each("//forward/interface[@connections]") do |el|
el.attributes.delete('connections');
xml.root.elements.each('//forward/interface[@connections]') do |el|
el.attributes.delete('connections')
end
formatter = REXML::Formatters::Pretty.new(2)
formatter.compact = true
Expand Down

0 comments on commit 64ffbbc

Please sign in to comment.