summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/volume/cinder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/volume/cinder.py b/nova/volume/cinder.py
index 1aa7dcd2b..ed6b3cd59 100644
--- a/nova/volume/cinder.py
+++ b/nova/volume/cinder.py
@@ -149,7 +149,7 @@ class API(base.Base):
cinderclient(context).volumes.reserve(volume['id'])
def unreserve_volume(self, context, volume):
- cinderclient(context).volumes.reserve(volume['id'])
+ cinderclient(context).volumes.unreserve(volume['id'])
def attach(self, context, volume, instance_uuid, mountpoint):
cinderclient(context).volumes.attach(volume['id'],