Skip to content

Commit 1a99f23

Browse files
committed
admin: Remove NormalizeIndex admin command
1 parent 18ef1be commit 1a99f23

File tree

3 files changed

+2
-81
lines changed

3 files changed

+2
-81
lines changed

src/admin/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ pub mod dialoguer;
44
pub mod enqueue_job;
55
pub mod git_import;
66
pub mod migrate;
7-
pub mod normalize_index;
87
pub mod on_call;
98
pub mod populate;
109
pub mod render_readmes;

src/admin/normalize_index.rs

Lines changed: 0 additions & 76 deletions
This file was deleted.

src/bin/crates-admin.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#![warn(clippy::all, rust_2018_idioms)]
22

33
use cargo_registry::admin::{
4-
delete_crate, delete_version, enqueue_job, git_import, migrate, normalize_index, populate,
5-
render_readmes, test_pagerduty, transfer_crates, upload_index, verify_token, yank_version,
4+
delete_crate, delete_version, enqueue_job, git_import, migrate, populate, render_readmes,
5+
test_pagerduty, transfer_crates, upload_index, verify_token, yank_version,
66
};
77

88
#[derive(clap::Parser, Debug)]
@@ -21,7 +21,6 @@ enum Command {
2121
GitImport(git_import::Opts),
2222
#[clap(subcommand)]
2323
EnqueueJob(enqueue_job::Command),
24-
NormalizeIndex(normalize_index::Opts),
2524
}
2625

2726
fn main() -> anyhow::Result<()> {
@@ -47,7 +46,6 @@ fn main() -> anyhow::Result<()> {
4746
Command::YankVersion(opts) => yank_version::run(opts),
4847
Command::GitImport(opts) => git_import::run(opts)?,
4948
Command::EnqueueJob(command) => enqueue_job::run(command)?,
50-
Command::NormalizeIndex(opts) => normalize_index::run(opts)?,
5149
}
5250

5351
Ok(())

0 commit comments

Comments
 (0)