add /dev/ to disk names

compile regex just once
build ci in release mode
This commit is contained in:
2022-12-04 17:36:18 +01:00
parent 3b06a130b2
commit 7f1929e636
5 changed files with 25 additions and 15 deletions

View File

@@ -13,6 +13,7 @@ fn get_raid_devices() -> Json<MdRaidSystem> {
#[rocket::main]
async fn main() -> Result<(), rocket::Error> {
println!("init");
let _rocket = rocket::build()
.mount("/api", routes![get_raid_devices])
.launch()