Cannot specify a hostname for memcapable

Bug #1481057 reported by Tony Gregerson
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

It is not possible to specify a hostname for memcapable in version 1.0.18, making the tool unusable.

gregerson@my-instance:~$ memcapable
Failed to connect socket: Connection refused
Failed to connect to <(null):11211>: Connection refused

gregerson@my-instance:~$ memcapable -h
No hostname was provided.

Here is the fix:
On line 2153 of

if (hostname)

should instead be:

if (!hostname)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.