lib/facter/facts/windows/hypervisors/hyperv.rb in facter-4.1.1 vs lib/facter/facts/windows/hypervisors/hyperv.rb in facter-4.2.0
- old
+ new
@@ -13,10 +13,10 @@
end
private
def hyperv?
- Facter::Resolvers::Virtualization.resolve(:virtual) == 'hyperv' ||
+ Facter::Resolvers::Windows::Virtualization.resolve(:virtual) == 'hyperv' ||
Facter::Resolvers::DMIBios.resolve(:manufacturer).include?('Microsoft')
end
end
end
end