glusterfs: Fix use of ShareSnapshotInstance object
Previously, a 'ShareSnapshot' object was passed to the driver's API
method by share's manager.py during a create_share_from_snapshot call.
Now, a 'ShareSnapshotInstance' object is passed to the driver during
the same call. The object no longer has the attribute 'share' used by
the driver code, and in it's place has the attribute 'share_instance'.
So replace use of 'share' attribute with 'share_instance'.
Reviewed: https:/ /review. openstack. org/223485 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=cf7bc890fcd fbcae3146033958 89f0329b7eb70a
Committed: https:/
Submitter: Jenkins
Branch: master
commit cf7bc890fcdfbca e314603395889f0 329b7eb70a
Author: Ramana Raja <email address hidden>
Date: Tue Sep 15 12:34:08 2015 +0530
glusterfs: Fix use of ShareSnapshotIn stance object
Previously, a 'ShareSnapshot' object was passed to the driver's API share_from_ snapshot call. nstance' object is passed to the driver during
method by share's manager.py during a create_
Now, a 'ShareSnapshotI
the same call. The object no longer has the attribute 'share' used by
the driver code, and in it's place has the attribute 'share_instance'.
So replace use of 'share' attribute with 'share_instance'.
Change-Id: Ibea11b33772f24 609f9cd3180d61a b7f6307c1b8
Closes-Bug: #1495382