lib/facter/facts/solaris/hypervisors/zone.rb in facter-4.0.52 vs lib/facter/facts/solaris/hypervisors/zone.rb in facter-4.1.0
- old
+ new
@@ -25,10 +25,10 @@
current_zone = zones.find { |r| r[:name] == current_zone_name }
{
brand: current_zone[:brand],
- id: current_zone[:id],
+ id: Facter::Utils.try_to_int(current_zone[:id]),
ip_type: current_zone[:iptype],
name: current_zone[:name],
uuid: current_zone[:uuid]
}
end