Fix analysis backlog calculation for specific path on storage
We need to convert the provided path into a local storage one first, otherwise the following scandir calls will fall on their faces.
This commit is contained in:
parent
b24851ca05
commit
8cbf5a74b3
1 changed files with 3 additions and 0 deletions
|
|
@ -489,6 +489,9 @@ class LocalFileStorage(StorageInterface):
|
|||
return self.analysis_backlog_for_path()
|
||||
|
||||
def analysis_backlog_for_path(self, path=None):
|
||||
if path:
|
||||
path = self.sanitize_path(path)
|
||||
|
||||
for entry in self._analysis_backlog_generator(path):
|
||||
yield entry
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue