onering-client 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/onering.rb +1 -1
- data/lib/onering/util.rb +1 -3
- metadata +1 -1
data/lib/onering.rb
CHANGED
data/lib/onering/util.rb
CHANGED
@@ -98,9 +98,7 @@ module Onering
|
|
98
98
|
fact_value = Facter.value(name)
|
99
99
|
|
100
100
|
# short circuit nil responses
|
101
|
-
if fact_value.nil?
|
102
|
-
return reporter.report().get(name, default)
|
103
|
-
end
|
101
|
+
return default if fact_value.nil?
|
104
102
|
|
105
103
|
# if we are asking for a nested object...
|
106
104
|
if name.include?('.')
|