mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-09 05:12:58 +00:00
fix stackoverflow (#542)
closes #541 two functions was calling itself instead of routing to primary
This commit is contained in:
@@ -125,11 +125,11 @@ impl ObjectStore for MirroringObjectStore {
|
||||
}
|
||||
|
||||
async fn list(&self, prefix: Option<&Path>) -> Result<BoxStream<'_, Result<ObjectMeta>>> {
|
||||
self.list(prefix).await
|
||||
self.primary.list(prefix).await
|
||||
}
|
||||
|
||||
async fn list_with_delimiter(&self, prefix: Option<&Path>) -> Result<ListResult> {
|
||||
self.list_with_delimiter(prefix).await
|
||||
self.primary.list_with_delimiter(prefix).await
|
||||
}
|
||||
|
||||
async fn copy(&self, from: &Path, to: &Path) -> Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user