diff options
| author | Josh Kearney <josh@jk0.org> | 2011-08-18 15:08:51 -0500 |
|---|---|---|
| committer | Josh Kearney <josh@jk0.org> | 2011-08-18 15:08:51 -0500 |
| commit | 508b45a3fda9caa92c90282045495acb6e2f638b (patch) | |
| tree | eeaebdd0b32ecfe0b8ebcfff448ee63a764f8aec /nova/api | |
| parent | fe28c88a6bfff9d8e0d83751ab89e83173aaf092 (diff) | |
| download | nova-508b45a3fda9caa92c90282045495acb6e2f638b.tar.gz nova-508b45a3fda9caa92c90282045495acb6e2f638b.tar.xz nova-508b45a3fda9caa92c90282045495acb6e2f638b.zip | |
Better docstring for _unrescue().
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/contrib/rescue.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nova/api/openstack/contrib/rescue.py b/nova/api/openstack/contrib/rescue.py index 5ee071696..a30ed6dff 100644 --- a/nova/api/openstack/contrib/rescue.py +++ b/nova/api/openstack/contrib/rescue.py @@ -53,7 +53,11 @@ class Rescue(exts.ExtensionDescriptor): return webob.Response(status_int=202) def _unrescue(self, input_dict, req, instance_id): - """Unrescue an instance.""" + """Unrescue an instance. + + We pass exit_rescue=True here so _rescue() knows we would like to exit + rescue mode. + """ self._rescue(input_dict, req, instance_id, exit_rescue=True) def get_name(self): |
