summaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/list.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-02-02 17:58:44 -0800
committerelijah <elijah@riseup.net>2016-02-23 09:50:58 -0800
commit8eec2d89983934868c9be07d55825cbe3bdcdaaf (patch)
treee0c02a4d625828132f482a1838306e20a4a8494e /lib/leap_cli/commands/list.rb
parentda2c743faaccd26604c4c26fbb1557934688eb4a (diff)
added templates for `leap node add`, so that new nodes can get default values set in their initial .json file.
Diffstat (limited to 'lib/leap_cli/commands/list.rb')
-rw-r--r--lib/leap_cli/commands/list.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/list.rb b/lib/leap_cli/commands/list.rb
index c562b59b..aa425432 100644
--- a/lib/leap_cli/commands/list.rb
+++ b/lib/leap_cli/commands/list.rb
@@ -52,7 +52,7 @@ module LeapCli; module Commands
elsif prop_value == ""
"empty"
elsif prop_value.is_a? LeapCli::Config::Object
- node[prop].dump_json(:compact) # TODO: add option of getting pre-evaluation values.
+ node[prop].dump_json(:format => :compact) # TODO: add option of getting pre-evaluation values.
else
prop_value.to_s
end