Changed default for disabled on service_get_all to None. Changed calls to service_get_all so that the results should still be as they previously were.
This commit is contained in:
@@ -610,7 +610,7 @@ class ServiceCommands(object):
|
||||
args: [host] [service]"""
|
||||
ctxt = context.get_admin_context()
|
||||
now = datetime.datetime.utcnow()
|
||||
services = db.service_get_all(ctxt) + db.service_get_all(ctxt, True)
|
||||
services = db.service_get_all(ctxt)
|
||||
if host:
|
||||
services = [s for s in services if s['host'] == host]
|
||||
if service:
|
||||
|
||||
Reference in New Issue
Block a user