reverted my changes from https://code.launchpad.net/~berendt/nova/lp722554/+merge/50579 and reused the existing db api methods to add the disabled services. Looks much better now :)
i couldn't figure out how to uncommit and revert my changes in an already pushed branch, always ending in "ERROR: These branches have diverged.". So i created a new branch rev2 and a new proposal...
This commit is contained in:
commit
f623b52a89
@ -553,7 +553,7 @@ class ServiceCommands(object):
|
||||
args: [host] [service]"""
|
||||
ctxt = context.get_admin_context()
|
||||
now = datetime.datetime.utcnow()
|
||||
services = db.service_get_all(ctxt)
|
||||
services = db.service_get_all(ctxt) + db.service_get_all(ctxt, True)
|
||||
if host:
|
||||
services = [s for s in services if s['host'] == host]
|
||||
if service:
|
||||
|
Loading…
x
Reference in New Issue
Block a user