You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by GitBox <gi...@apache.org> on 2021/05/25 14:24:30 UTC

[GitHub] [libcloud] Ido-Levi commented on a change in pull request #1584: Optimized 'iterate_container_objects' by filtering the objects before…

Ido-Levi commented on a change in pull request #1584:
URL: https://github.com/apache/libcloud/pull/1584#discussion_r638838434



##########
File path: libcloud/storage/drivers/local.py
##########
@@ -276,7 +279,7 @@ def iterate_container_objects(self, container, prefix=None,
         """
         prefix = self._normalize_prefix_argument(prefix, ex_prefix)
 
-        objects = self._get_objects(container)
+        objects = self._get_objects(container, prefix)
         return self._filter_listed_container_objects(objects, prefix)

Review comment:
       Aight, removed the call to `_filter_listed_container_objects`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org