From 7a993ba3fb611f67dedc54db052e5db6cde45479 Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 15 Nov 2012 01:54:53 -0800 Subject: fixed minor bug with 'false' values on node configs. --- lib/leap_cli/config/object.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/leap_cli/config/object.rb b/lib/leap_cli/config/object.rb index de3c2c7..492de34 100644 --- a/lib/leap_cli/config/object.rb +++ b/lib/leap_cli/config/object.rb @@ -104,7 +104,7 @@ module LeapCli def pick(*keys) keys.map(&:to_s).inject(Config::Object.new(@manager,@node)) do |hsh, key| value = self.get(key) - if value + if !value.nil? hsh[key.gsub('.','_')] = value end hsh -- cgit v1.2.3