lib/vagrant-libvirt/action/start_domain.rb in vagrant-libvirt-0.10.4 vs lib/vagrant-libvirt/action/start_domain.rb in vagrant-libvirt-0.10.5

- old
+ new

@@ -1,10 +1,10 @@ # frozen_string_literal: true require 'log4r' -require 'equivalent-xml' +require 'compare-xml' require 'rexml/document' module VagrantPlugins module ProviderLibvirt module Action @@ -435,10 +435,10 @@ applied_xml_descr.write(applied_xml) proposed = Nokogiri::XML(new_xml, &:noblanks) applied = Nokogiri::XML(applied_xml, &:noblanks) - if !EquivalentXml.equivalent?(proposed, applied) + if CompareXML.equivalent?(proposed, applied, { force_children: true }) require 'diffy' # pretty print the XML as even though there can be additional changes, # the output with diffy appears to be clearer pretty_proposed = StringIO.new