Merge "Remove unintended exposure of private attribute"
This commit is contained in:
@@ -58,7 +58,7 @@ class GaneshaNASHelper(NASHelperBase):
|
|||||||
super(GaneshaNASHelper, self).__init__(execute, config, **kwargs)
|
super(GaneshaNASHelper, self).__init__(execute, config, **kwargs)
|
||||||
self.tag = tag
|
self.tag = tag
|
||||||
|
|
||||||
confrx = re.compile('\.(conf|json)\Z')
|
_confrx = re.compile('\.(conf|json)\Z')
|
||||||
|
|
||||||
def _load_conf_dir(self, dirpath, must_exist=True):
|
def _load_conf_dir(self, dirpath, must_exist=True):
|
||||||
"""Load Ganesha config files in dirpath in alphabetic order."""
|
"""Load Ganesha config files in dirpath in alphabetic order."""
|
||||||
@@ -69,7 +69,7 @@ class GaneshaNASHelper(NASHelperBase):
|
|||||||
raise
|
raise
|
||||||
dirlist = []
|
dirlist = []
|
||||||
LOG.info(_LI('Loading Ganesha config from %s.'), dirpath)
|
LOG.info(_LI('Loading Ganesha config from %s.'), dirpath)
|
||||||
conf_files = list(filter(self.confrx.search, dirlist))
|
conf_files = list(filter(self._confrx.search, dirlist))
|
||||||
conf_files.sort()
|
conf_files.sort()
|
||||||
export_template = {}
|
export_template = {}
|
||||||
for conf_file in conf_files:
|
for conf_file in conf_files:
|
||||||
|
|||||||
Reference in New Issue
Block a user