make 'ctrl' an array (so that .each works) #18

merged 1 commit into from Oct 3, 2013


None yet
2 participants

thinred commented Oct 3, 2013

ctrl should be an array since later on it is called with .each
Otherwise, my run complains with:

bin/openstackg5k:180:in block (2 levels) in execute': undefined methodeach' for "":String (NoMethodError)
from /usr/lib/ruby/vendor_ruby/net/ssh/multi/session.rb:222:in group' from bin/openstackg5k:179:inblock in execute'
from /usr/lib/ruby/vendor_ruby/net/ssh/multi.rb:62:in start' from bin/openstackg5k:170:inexecute'
from bin/openstackg5k:240:in educational' from bin/openstackg5k:155:inrunos'
from bin/openstackg5k:339:in `


@sbadia sbadia added a commit that referenced this pull request Oct 3, 2013

@sbadia sbadia Merge pull request #18 from thinred/ctrl-fix
make 'ctrl' an array (so that .each works)

@sbadia sbadia merged commit afb1299 into sbadia:master Oct 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment