Skip to content

Commit 2629a5c

Browse files
committed
nits
1 parent 14f172c commit 2629a5c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

core/bin/qdrant_migrator.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ enum Commands {
5353
},
5454
}
5555

56-
/// A fictional versioning CLI
57-
#[derive(Debug, Parser)] // requires `derive` feature
56+
#[derive(Debug, Parser)]
5857
#[command(name = "collection_migrator")]
5958
#[command(about = "Tooling to migrate Qdrant collections", long_about = None)]
6059
struct Cli {
@@ -238,7 +237,6 @@ fn main() -> Result<()> {
238237
None => Err(anyhow!("Data source not found"))?,
239238
};
240239

241-
// Delete collection on shadow_write_cluster.
242240
let shadow_write_qdrant_client =
243241
match qdrant_clients.shadow_write_client(&ds.config().qdrant_config) {
244242
Some(client) => client,
@@ -270,6 +268,7 @@ fn main() -> Result<()> {
270268
None => Err(anyhow!("Qdrant collection not found"))?,
271269
};
272270

271+
// Delete collection on shadow_write_cluster.
273272
shadow_write_qdrant_client
274273
.delete_collection(ds.qdrant_collection())
275274
.await?;

0 commit comments

Comments
 (0)