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

undefined method `hostport' for <ip:port> (connected: false):Gearman::Connection #26

Open
tamoyal opened this issue Dec 24, 2014 · 3 comments

Comments

@tamoyal
Copy link

tamoyal commented Dec 24, 2014

I think

message = "Network error on read from #{connection.hostport} while adding job, marking server bad"

should be

message = "Network error on read from #{connection.to_host_port} while adding job, marking server bad"

I don't see hostport defined in the Connection class

@lucaslain
Copy link

Was this fixed?

@tamoyal
Copy link
Author

tamoyal commented Mar 20, 2015

Hmmm not sure I ever got the pull request completed for this but here's the fix:
tamoyal@4d03d23
...quite simple

And here is the PR:
#27

@tamoyal
Copy link
Author

tamoyal commented Mar 13, 2018

@johnewart any chance we can get this pulled in?

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