diff options
author | Cara Salter <cara@devcara.com> | 2022-07-17 13:24:19 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-07-17 13:24:19 -0400 |
commit | 0e29883c95bb6742a1ac9e962532ec958464cb20 (patch) | |
tree | b03a775f44678a63a2f08d55790323444dfda367 /src/handlers/planets.rs | |
parent | 6bdf3bdd95457b3d49e2250da71cdedd16ea7f98 (diff) | |
download | solard-0e29883c95bb6742a1ac9e962532ec958464cb20.tar.gz solard-0e29883c95bb6742a1ac9e962532ec958464cb20.zip |
planets: WIP cloud-init support0.3.1
Diffstat (limited to 'src/handlers/planets.rs')
-rw-r--r-- | src/handlers/planets.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/handlers/planets.rs b/src/handlers/planets.rs index 5641814..f5f1098 100644 --- a/src/handlers/planets.rs +++ b/src/handlers/planets.rs @@ -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())) )?)); } _ => { |