diff options
| author | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-10-24 16:04:35 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-10-24 16:04:35 -0700 |
| commit | 4948fed24d5e16d95f237ec95c1cd305fcc4df95 (patch) | |
| tree | f5df1a3940f3320ae8d228c302ef1c02df37a36f /nova/api | |
| parent | eecef70fcdd173cc54ad8ac7edba9e9b31855134 (diff) | |
pep 8 cleanup and typo in resize
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/cloud.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/api/cloud.py b/nova/api/cloud.py index 46b342d32..b8f15019f 100644 --- a/nova/api/cloud.py +++ b/nova/api/cloud.py @@ -37,6 +37,7 @@ def reboot(instance_id, context=None): {"method": "reboot_instance", "args": {"instance_id": instance_ref['id']}}) + def rescue(instance_id, context): """Rescue the given instance.""" instance_ref = db.instance_get_by_internal_id(context, instance_id) @@ -46,6 +47,7 @@ def rescue(instance_id, context): {"method": "rescue_instance", "args": {"instance_id": instance_ref['id']}}) + def unrescue(instance_id, context): """Unrescue the given instance.""" instance_ref = db.instance_get_by_internal_id(context, instance_id) |
