Skip to content

Commit 7c91d89

Browse files
author
Nuo Yan
committed
fixing CHEF-1759 knife ssh failure: forgot to return r
1 parent 490ac87 commit 7c91d89

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎chef/lib/chef/knife/ssh.rb‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def configure_session
9999
i = format_for_display(item)[config[:attribute]]
100100
r.push(i) unless i.nil?
101101
}
102+
r
102103
end
103104
(Chef::Log.fatal("No nodes returned from search!"); exit 10) if list.length == 0
104105
session_from_list(list)

0 commit comments

Comments
 (0)