lib/facter/facts/linux/is_virtual.rb in facter-4.1.1 vs lib/facter/facts/linux/is_virtual.rb in facter-4.2.0

- old
+ new

@@ -3,15 +3,11 @@ module Facts module Linux class IsVirtual FACT_NAME = 'is_virtual' - def initialize - @virtual = Facter::Util::Facts::VirtualDetector.new - end - def call_the_resolver - fact_value = @virtual.platform + fact_value = Facter::Util::Facts::Posix::VirtualDetector.platform Facter::ResolvedFact.new(FACT_NAME, check_if_virtual(fact_value)) end private