Federico Simoncelli has uploaded a new change for review. Change subject: fileSD: getMountsList should be a private function ......................................................................
fileSD: getMountsList should be a private function Renaming getMountsList with private prefix as the function is not expected to be used outside of fileSD. Change-Id: Ifadead89b1e46656c8ba90ba83f64fc558920a15 Signed-off-by: Federico Simoncelli <[email protected]> --- M vdsm/storage/fileSD.py 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/34/31134/1 diff --git a/vdsm/storage/fileSD.py b/vdsm/storage/fileSD.py index b917301..8c2c550 100644 --- a/vdsm/storage/fileSD.py +++ b/vdsm/storage/fileSD.py @@ -641,7 +641,7 @@ self.oop.utils.forceLink(tVol, tLink) -def getMountsList(pattern="*"): +def _getMountsList(pattern="*"): fileDomPattern = os.path.join( sd.StorageDomain.storage_repository, sd.DOMAIN_MNT_POINT, pattern) @@ -664,7 +664,7 @@ def scanDomains(pattern="*"): log = logging.getLogger("Storage.scanDomains") - mntList = getMountsList(pattern) + mntList = _getMountsList(pattern) def collectMetaFiles(possibleDomain): try: -- To view, visit http://gerrit.ovirt.org/31134 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifadead89b1e46656c8ba90ba83f64fc558920a15 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Federico Simoncelli <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
