1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00

Typo on StatsCollector

This commit is contained in:
Adolfo Gómez 2013-04-24 08:06:40 +00:00
parent f3338ee264
commit 91799b6175

View File

@ -34,7 +34,7 @@ from __future__ import unicode_literals
from uds.models import DeployedService from uds.models import DeployedService
from uds.core.util.State import State from uds.core.util.State import State
from uds.core.util.stats import counters from uds.core.util.stats import counters
from uds.core.managers import StatsManager from uds.core.managers import statsManager
from uds.core.jobs.Job import Job from uds.core.jobs.Job import Job
import logging import logging
@ -84,12 +84,12 @@ class StatsCleaner(Job):
def run(self): def run(self):
logger.debug('Starting statistics cleanup') logger.debug('Starting statistics cleanup')
try: try:
StatsManager().cleanupCounters() statsManager().cleanupCounters()
except: except:
logger.exception('Cleaning up counters') logger.exception('Cleaning up counters')
try: try:
StatsManager().cleanupEvents() statsManager().cleanupEvents()
except: except:
logger.exception('Cleaning up events') logger.exception('Cleaning up events')