File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,7 @@ enum Commands {
53
53
} ,
54
54
}
55
55
56
- /// A fictional versioning CLI
57
- #[ derive( Debug , Parser ) ] // requires `derive` feature
56
+ #[ derive( Debug , Parser ) ]
58
57
#[ command( name = "collection_migrator" ) ]
59
58
#[ command( about = "Tooling to migrate Qdrant collections" , long_about = None ) ]
60
59
struct Cli {
@@ -238,7 +237,6 @@ fn main() -> Result<()> {
238
237
None => Err ( anyhow ! ( "Data source not found" ) ) ?,
239
238
} ;
240
239
241
- // Delete collection on shadow_write_cluster.
242
240
let shadow_write_qdrant_client =
243
241
match qdrant_clients. shadow_write_client ( & ds. config ( ) . qdrant_config ) {
244
242
Some ( client) => client,
@@ -270,6 +268,7 @@ fn main() -> Result<()> {
270
268
None => Err ( anyhow ! ( "Qdrant collection not found" ) ) ?,
271
269
} ;
272
270
271
+ // Delete collection on shadow_write_cluster.
273
272
shadow_write_qdrant_client
274
273
. delete_collection ( ds. qdrant_collection ( ) )
275
274
. await ?;
You can’t perform that action at this time.
0 commit comments