Address remaining panic in the generated code

Image download was missed in the previous change of eliminating panics
from the generated code.
Change-Id: I0f4c3cabe0fb091c5e2c40d55d8ffdfcabb05184
Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
This commit is contained in:
Artem Goncharov
2025年11月17日 15:57:05 +01:00
parent aa4d9e16b1
commit 7721de37cf

View File

@@ -6,11 +6,11 @@
let image_id = image_data["id"]
.as_str()
.expect("Image ID is a string")
.ok_or_else(|| eyre::eyre!("image ID must be a string"))?
.to_string();
let image_name = image_data["name"]
.as_str()
.expect("Image name is a string")
.ok_or_else(|| eyre::eyre!("image name must be a string"))?
.to_string();
let ep = download::Request::builder()
Reference in New Issue
openstack/codegenerator
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.