~muirrum/solard

0e29883c95bb6742a1ac9e962532ec958464cb20 — Cara Salter 1 year, 11 months ago 6bdf3bd 0.3.1
planets: WIP cloud-init support
2 files changed, 3 insertions(+), 3 deletions(-)

M Cargo.toml
M src/handlers/planets.rs
M Cargo.toml => Cargo.toml +1 -1
@@ 1,6 1,6 @@
[package]
name = "solard"
version = "0.3.0"
version = "0.3.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

M src/handlers/planets.rs => src/handlers/planets.rs +2 -2
@@ 130,7 130,7 @@ pub async fn new_planet(Json(new_planet): Json<NewPlanet>) -> JsonResult<Json<Pl
        new_planet.max_cpus,
        new_planet.disk_size_mb,
        ship.clone(),
        format!("http://{}", hw_url.clone)
        Some(format!("http://{}", hw_url.clone()))
    );
    match r {
        Err(e) => match e {


@@ 142,7 142,7 @@ pub async fn new_planet(Json(new_planet): Json<NewPlanet>) -> JsonResult<Json<Pl
                    new_planet.max_cpus,
                    new_planet.disk_size_mb,
                    ship.clone(),
        format!("http://{}", hw_url.clone)
        Some(format!("http://{}", hw_url.clone()))
                )?));
            }
            _ => {