diff options
| author | Josh Kleinpeter <josh@kleinpeter.org> | 2011-03-24 18:02:04 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-03-24 18:02:04 +0000 |
| commit | a1cb79c044d3ac36ed8f780a5e38ea716e532b74 (patch) | |
| tree | 416c14e553360a5c8f32b66c2c11f4aae6e11f66 /bin | |
| parent | 5b1abbb34c0a35d7d6d142ae9afd2cde74b1782e (diff) | |
| parent | 97e8f300af824145c8b92949ccbdfe81c0d7ca95 (diff) | |
Made service_get_all()'s disabled parameter default to None. Pass False for enabled services; True for disabled services. Calls to this method have been updated to remain consistent.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/nova-manage | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nova-manage b/bin/nova-manage index 6712fbadb..cf0caf47e 100755 --- a/bin/nova-manage +++ b/bin/nova-manage @@ -611,7 +611,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: |
