Skip to content

Instantly share code, notes, and snippets.

View mgagne's full-sized avatar

Mathieu Gagné mgagne

View GitHub Profile
diff --git a/cinder/volume/manager.py b/cinder/volume/manager.py
index f2be2d6..d1b98bf 100644
--- a/cinder/volume/manager.py
+++ b/cinder/volume/manager.py
@@ -183,10 +183,13 @@ class VolumeManager(manager.SchedulerDependentManager):
volume_ref = self.db.volume_update(context,
volume_ref['id'],
updates)
- self._copy_image_to_volume(context,
- volume_ref,