Merge "Remove useless gconfig process in watcher/api/scheduling.py"

This commit is contained in:
Zuul
2019-07-26 10:12:15 +00:00
committed by Gerrit Code Review

View File

@@ -34,9 +34,8 @@ LOG = log.getLogger(__name__)
class APISchedulingService(scheduling.BackgroundSchedulerService):
def __init__(self, gconfig=None, **options):
def __init__(self, gconfig={}, **options):
self.services_status = {}
gconfig = None or {}
super(APISchedulingService, self).__init__(gconfig, **options)
def get_services_status(self, context):