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

Change-Id: I3849453286a735fbe95984e8496fd8a2fcb156b4
This commit is contained in:
chenke
2019-07-18 16:02:44 +08:00
parent 375ae32fad
commit 361f22638f

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):