glusterfs.GlusterNFSVolHelper: remove __init__
The glusterfs.GlusterNFSVolHelper class does not customize instantiation, so it does not need to maintain an __init__ function. Change-Id: I6549cb3c27cfaa046f6685d4774a425d99b8fe6b Closes-bug: #1555157
This commit is contained in:
parent
cd72947258
commit
6d67c2697a
|
@ -246,11 +246,6 @@ class GlusterNFSHelper(ganesha.NASHelperBase):
|
|||
class GlusterNFSVolHelper(GlusterNFSHelper):
|
||||
"""Manage shares with Gluster-NFS server, volume mapped variant."""
|
||||
|
||||
def __init__(self, execute, config_object, **kwargs):
|
||||
self.gluster_manager = kwargs.pop('gluster_manager')
|
||||
super(GlusterNFSHelper, self).__init__(execute, config_object,
|
||||
**kwargs)
|
||||
|
||||
def _get_vol_exports(self):
|
||||
export_vol = self.gluster_manager.get_vol_option(
|
||||
NFS_RPC_AUTH_ALLOW)
|
||||
|
|
Loading…
Reference in New Issue