summaryrefslogtreecommitdiffstats
path: root/tools/glusterfind/src/main.py
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2019-10-24 12:24:35 +0530
committerhari gowtham <hari.gowtham005@gmail.com>2020-02-26 11:09:22 +0000
commitb7c10c26930541736b829a805a213caa0df360cd (patch)
tree00b6d25d109ecf3226954f1dd65783fabe86f46e /tools/glusterfind/src/main.py
parent611961144704672c6a670fc7ad91a6e8000b2c0f (diff)
gf-event: Handle unix volfile-servers
Problem: glfsheal program uses unix-socket-based volfile server. volfile server will be the path to socket in this case. gf_event expects this to be hostname in all cases. So getaddrinfo will fail on the unix-socket path, events won't be sent in this case. Fix: In case of unix sockets, default to localhost fixes: bz#1793096 Change-Id: I60d27608792c29d83fb82beb5fde5ef4754bece8 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'tools/glusterfind/src/main.py')
0 files changed, 0 insertions, 0 deletions