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:
parent
a193d901cf
commit
17883b76b0
@ -23,6 +23,7 @@ import os
|
||||
import os.path
|
||||
import re
|
||||
import signal
|
||||
import socket
|
||||
import threading
|
||||
import time
|
||||
import yaml
|
||||
|
Loading…
x
Reference in New Issue
Block a user