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
This commit is contained in:
Clark Boylan 2015-07-17 11:13:42 -07:00
parent 104fcc2a90
commit 5badcb64d0
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ import os
import os.path
import re
import signal
import socket
import threading
import time
import yaml