Skip to content

Commit

Permalink
Merge pull request #319 from sonivi/plugin_v2
Browse files Browse the repository at this point in the history
 Fix #278: Set clone volume backend attribute
  • Loading branch information
wdurairaj authored Sep 10, 2018
2 parents 61a5fd5 + 8c774c7 commit 008124c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hpedockerplugin/volume_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,7 @@ def _clone_volume(self, clone_name, src_vol, size, cpg,
# This will make get_vol_byname more efficient
clone_vol['fsOwner'] = src_vol.get('fsOwner')
clone_vol['fsMode'] = src_vol.get('fsMode')
clone_vol['backend'] = src_vol.get('backend')
self._etcd.save_vol(clone_vol)

except Exception as ex:
Expand Down

0 comments on commit 008124c

Please sign in to comment.