mirror of
https://github.com/ansible/awx.git
synced 2026-04-14 06:29:25 -02:30
Fix stats client import
This commit is contained in:
@@ -56,7 +56,7 @@ if os.environ.get('GRAPHITE_PORT_8125_UDP_ADDR'):
|
|||||||
prefix='tower.job.event_callback',
|
prefix='tower.job.event_callback',
|
||||||
maxudpsize=512)
|
maxudpsize=512)
|
||||||
else:
|
else:
|
||||||
from statsd import StatsClientBase
|
from statsd.client import StatsClientBase
|
||||||
|
|
||||||
class NoStatsClient(StatsClientBase):
|
class NoStatsClient(StatsClientBase):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
|
|||||||
Reference in New Issue
Block a user