diff options
author | Cara Salter <cara@devcara.com> | 2022-07-11 08:46:26 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-07-11 08:46:26 -0400 |
commit | 6bdf3bdd95457b3d49e2250da71cdedd16ea7f98 (patch) | |
tree | 84116ddbd5b8921602ce91c31daa914aeff57c85 /src/handlers/planets.rs | |
parent | 1a408b8ba3dd2b15a63f29bbd68ebd182bb154cd (diff) | |
download | solard-6bdf3bdd95457b3d49e2250da71cdedd16ea7f98.tar.gz solard-6bdf3bdd95457b3d49e2250da71cdedd16ea7f98.zip |
Initial work for cloud-init0.3.0
Diffstat (limited to 'src/handlers/planets.rs')
-rw-r--r-- | src/handlers/planets.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/handlers/planets.rs b/src/handlers/planets.rs index 8593026..5641814 100644 --- a/src/handlers/planets.rs +++ b/src/handlers/planets.rs @@ -130,6 +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) ); match r { Err(e) => match e { @@ -141,6 +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) )?)); } _ => { |