From 17883b76b07108ce289e0fb8b10081e7beac5f7d Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 17 Jul 2015 11:13:42 -0700 Subject: [PATCH] Import socket so we can use it to get name info Previously this was using socket.getaddrinfo() without importing socket and causing the daemon to fail. Running in the foreground did not use statsd thus did not attempt to resolve the statsd host which is how this got past manual testing. Import socket to get everything working agian. Change-Id: I280973bdcdf472736a07d19173559b062ed74d3c --- files/log-gearman-client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/log-gearman-client.py b/files/log-gearman-client.py index 56466bf..8f5e985 100644 --- a/files/log-gearman-client.py +++ b/files/log-gearman-client.py @@ -23,6 +23,7 @@ import os import os.path import re import signal +import socket import threading import time import yaml