Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh_command is throwing an error because of function signature #2

Open
rbucker opened this issue Nov 28, 2012 · 1 comment
Open

ssh_command is throwing an error because of function signature #2

rbucker opened this issue Nov 28, 2012 · 1 comment

Comments

@rbucker
Copy link

rbucker commented Nov 28, 2012

def ssh_command(command, subsession=nil, nodes)

I'm not 100% certain but I believe that since you have a default value for subsession all params to the right must also have default values. The error from ruby 1.9.2p0 was pretty vague but when I added the nodes=nil that error message went away.

@imeyer
Copy link
Owner

imeyer commented Nov 28, 2012

Oh, interesting! I'll test this out and release a new version. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants