Skip to content
Snippets Groups Projects
Commit 68f32fc1 authored by ms.evilhat's avatar ms.evilhat
Browse files

fix(bucket_id): fix borrowing in bucket_discovery

parent 61a21f6f
No related branches found
No related tags found
1 merge request!1414sbroad import
......@@ -273,8 +273,8 @@ where
"Failed to retrieve buckets of the first except child from the bucket map."
.to_string(),
)
})?;
self.bucket_map.insert(*output, first_buckets.clone());
})?.clone();
self.bucket_map.insert(*output, first_buckets);
} else {
return Err(QueryPlannerError::CustomError(
"Current node should have exactly two children".to_string(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment