diff options
author | elijah <elijah@riseup.net> | 2012-11-15 01:54:53 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-11-15 01:54:53 -0800 |
commit | 7a993ba3fb611f67dedc54db052e5db6cde45479 (patch) | |
tree | 621181229d6f0994cfba7de248299a32fa0506e2 /lib | |
parent | 088b4f047f3d4b8e075e10277bfe5f94cb0b9af1 (diff) | |
download | leap_cli-7a993ba3fb611f67dedc54db052e5db6cde45479.tar.gz leap_cli-7a993ba3fb611f67dedc54db052e5db6cde45479.tar.bz2 |
fixed minor bug with 'false' values on node configs.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli/config/object.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |