Skip to content

Commit 7e864fb

Browse files
authored
update bootstrap to include v3light (#2546)
Signed-off-by: Ashraf Fouda <ashraf.m.fouda@gmail.com>
1 parent 73608db commit 7e864fb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

bootstrap/bootstrap/src/bootstrap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub fn install(cfg: &config::Config) -> Result<()> {
7373
let mut listname = runmode.clone();
7474
match cfg.version {
7575
Version::V3 => {}
76-
Version::V4 => listname = format!("{}-v4", runmode),
76+
Version::V3Light => listname = format!("{}-v3light", runmode),
7777
}
7878
// we need to list all taglinks
7979
let mut tag = None;

bootstrap/bootstrap/src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ impl Display for RunMode {
2828
#[derive(Debug)]
2929
pub enum Version {
3030
V3,
31-
V4,
31+
V3Light,
3232
}
3333

3434
fn runmode() -> Result<RunMode> {
@@ -65,7 +65,7 @@ fn version() -> Result<Version> {
6565
Some(input) => match input {
6666
Some(input) => match input.as_ref() {
6767
"v3" => Version::V3,
68-
"v4" => Version::V4,
68+
"v3light" => Version::V3Light,
6969
m => {
7070
bail!("unknown version: {}", m);
7171
}

0 commit comments

Comments
 (0)