Skip to content

Commit ac2a223

Browse files
committed
cmd-import: use description label for summary
The title and description labels are set to the same values but I think the leap from title->summary is greater than the leap from description->summary. Let's use description here.
1 parent 4331a12 commit ac2a223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd-import

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def generate_build_meta(tmp_oci_archive, tmp_oci_manifest, metadata, ostree_comm
155155
'commit': commit,
156156
}
157157

158-
summary = metadata.get('Labels', {}).get('org.opencontainers.image.title')
158+
summary = metadata.get('Labels', {}).get('org.opencontainers.image.description')
159159
if summary:
160160
meta['summary'] = summary
161161

0 commit comments

Comments
 (0)