We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 927ad1a + ca9534c commit 4621d76Copy full SHA for 4621d76
lib/src/store/ostree_container.rs
@@ -51,6 +51,7 @@ fn create_imagestatus(
51
l.get(oci_spec::image::ANNOTATION_CREATED)
52
.map(|s| s.as_str())
53
})
54
+ .or_else(|| config.created().as_deref())
55
.and_then(try_deserialize_timestamp);
56
57
let version = ostree_container::version_for_config(config).map(ToOwned::to_owned);
tests/booted/readonly/001-test-status.nu
@@ -9,4 +9,5 @@ let st = bootc status --json --format-version=0 | from json
9
assert equal $st.apiVersion org.containers.bootc/v1
10
let st = bootc status --format=yaml | from yaml
11
12
+assert ($st.status.booted.image.timestamp != null)
13
tap ok
0 commit comments