summaryrefslogtreecommitdiff
path: root/lib/leap_cli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leap_cli')
-rw-r--r--lib/leap_cli/commands/util.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/util.rb b/lib/leap_cli/commands/util.rb
index 803fe88..852d22c 100644
--- a/lib/leap_cli/commands/util.rb
+++ b/lib/leap_cli/commands/util.rb
@@ -130,7 +130,7 @@ module LeapCli; module Commands
def parse_node_list(nodes)
if nodes.is_a? Config::Object
- Config::ObjectList.new(node_list)
+ Config::ObjectList.new(nodes)
elsif nodes.is_a? Config::ObjectList
nodes
elsif nodes.is_a? String