Skip to content

Commit a60a721

Browse files
committed
Return empty hash instead of yaml empty dict
1 parent 51d9883 commit a60a721

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/facter/infiniband_topology.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@
6767
begin
6868
YAML.load(Facter::Core::Execution.execute($ibtopology))
6969
rescue
70-
'{}'
70+
{}
7171
end
7272
else
73-
'{}'
73+
{}
7474
end
7575
end
7676
end

0 commit comments

Comments
 (0)