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:
Josh Kleinpeter
2011-03-22 12:33:34 -05:00
parent 12e6932eee
commit f8ddbadd4e

View File

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