Skip to content

Commit 0aae35a

Browse files
composefs/state: Fix imgref format in origin file
On `UpdateAction::UpdateOrigin` the origin for the container image used was not properly formatted. Fixed it Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
1 parent bc3d6ec commit 0aae35a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/lib/src/bootc_composefs/state.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ pub(crate) fn update_target_imgref_in_origin(
162162
"origin",
163163
&[(
164164
ORIGIN_CONTAINER,
165-
&format!("ostree-unverified-image:{imgref}"),
165+
&format!(
166+
"ostree-unverified-image:{}",
167+
get_imgref(&imgref.transport, &imgref.image)
168+
),
166169
)],
167170
)
168171
}

0 commit comments

Comments
 (0)