mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 02:31:03 -03:30
Switch to StatsClient from StatsClientBase
So as not to use a purely abstract class
This commit is contained in:
@@ -56,9 +56,9 @@ if os.environ.get('GRAPHITE_PORT_8125_UDP_ADDR'):
|
||||
prefix='tower.job.event_callback',
|
||||
maxudpsize=512)
|
||||
else:
|
||||
from statsd.client import StatsClientBase
|
||||
from statsd import StatsClient
|
||||
|
||||
class NoStatsClient(StatsClientBase):
|
||||
class NoStatsClient(StatsClient):
|
||||
def __init__(self, *args, **kwargs):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user