mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
Switch to StatsClient from StatsClientBase
So as not to use a purely abstract class
This commit is contained in:
parent
c2875c65ca
commit
96b754c5ec
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user