summaryrefslogtreecommitdiff
path: root/lib/leap_cli/config/node.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-12-21 11:06:48 -0800
committerelijah <elijah@riseup.net>2016-12-21 11:06:48 -0800
commitc0f489c4226c924fa1d96d12cba7eb5f63ccaf64 (patch)
tree0c56b92b262f3f7718cfc628644f2756f4caf1c9 /lib/leap_cli/config/node.rb
parent4116559c43b36cf69dc128769cbae857c53f094f (diff)
add command `leap node disable` and `leap node enable`
Diffstat (limited to 'lib/leap_cli/config/node.rb')
-rw-r--r--lib/leap_cli/config/node.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/leap_cli/config/node.rb b/lib/leap_cli/config/node.rb
index 23abdee3..a7c5c1e4 100644
--- a/lib/leap_cli/config/node.rb
+++ b/lib/leap_cli/config/node.rb
@@ -169,8 +169,8 @@ module LeapCli; module Config
#
# modifies the config file nodes/NAME.json for this node.
#
- def update_json(new_values)
- self.env.update_node_json(node, new_values)
+ def update_json(new_values, options=nil)
+ self.env.update_node_json(node, new_values, options)
end
#