diff options
author | Bharat Kumar Kobagana <bharat.kobagana@redhat.com> | 2015-04-08 12:02:32 +0530 |
---|---|---|
committer | Bharat Kumar Kobagana <bharat.kobagana@redhat.com> | 2015-04-08 17:34:02 +0530 |
commit | ff50c28386e27654688a7ef255f70f2fc3bcde37 (patch) | |
tree | a382e5207b99899679527eff7678bcce679a96e5 | |
parent | 1c06834e8c0c7f4a55103cdcc08744e52f0d234d (diff) | |
download | cinder-ff50c28386e27654688a7ef255f70f2fc3bcde37.tar.gz |
GlusterFS: Returning provider location of volume from snapshot
This patch returns the provider location of volume, which is
created from snapshot.
Partial-Bug: 1441050
Reported-By: Deepak C Shetty <deepakcs@redhat.com>
Change-Id: I5994f2f6c125888d442055d9e65355f0af1b22f4
-rw-r--r-- | cinder/volume/drivers/glusterfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cinder/volume/drivers/glusterfs.py b/cinder/volume/drivers/glusterfs.py index 559e12b9b..01853ac54 100644 --- a/cinder/volume/drivers/glusterfs.py +++ b/cinder/volume/drivers/glusterfs.py @@ -223,7 +223,7 @@ class GlusterfsDriver(remotefs_drv.RemoteFSSnapDriver): @locked_volume_id_operation def create_volume_from_snapshot(self, volume, snapshot): - self._create_volume_from_snapshot(volume, snapshot) + return self._create_volume_from_snapshot(volume, snapshot) def _copy_volume_from_snapshot(self, snapshot, volume, volume_size): """Copy data from snapshot to destination volume. |