diff --git a/launcher/src/main.rs b/launcher/src/main.rs index 7d041b03..054e546c 100644 --- a/launcher/src/main.rs +++ b/launcher/src/main.rs @@ -988,8 +988,8 @@ fn compute_type(num_shard: usize) -> Option { .output() .ok()?; let output = String::from_utf8(output.stdout).ok()?; - let fullname = output.split("\n").nth(1)?; - let cardname = fullname.replace(" ", "-").to_lowercase(); + let fullname = output.split('\n').nth(1)?; + let cardname = fullname.replace(' ', "-").to_lowercase(); let compute_type = format!("{num_shard}-{cardname}"); Some(compute_type) }